Interface IDiscordMessageReference
Represents a discord Message Reference Structure API model. Docs: https://discord.com/developers/docs/resources/channel#message-reference-object-message-reference-structure
Namespace: Color_Chan.Discord.Core.Common.Models.Message
Assembly: Color-Chan.Discord.Core.dll
Syntax
public interface IDiscordMessageReference
Properties
| Improve this Doc View SourceChannelId
Id of the originating message's channel.
Declaration
ulong? ChannelId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.UInt64> |
Remarks
channel_id is optional when creating a reply, but will always be present when receiving an event/response that includes this data model.
FailIfNotExists
When sending, whether to error if the referenced message doesn't exist instead of sending as a normal (non-reply) message, default true.
Declaration
ulong? FailIfNotExists { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.UInt64> |
GuildId
Id of the originating message's guild.
Declaration
ulong? GuildId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.UInt64> |
MessageId
Id of the originating message.
Declaration
ulong? MessageId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.UInt64> |