Interface IMessage
public interface IMessage : ISnowflake
- Inherited Members
Properties
Attachments
The files attached to the message.
IAttachment[]? Attachments { get; }
Property Value
Author
Partial user that sent the message.
IUser Author { get; }
Property Value
Call
Call information if this message represents a call
IMessageCall? Call { get; }
Property Value
ChannelId
The ID of the channel this message was sent in.
ulong ChannelId { get; }
Property Value
Content
The text content of the message.
string Content { get; }
Property Value
EditedAt
The ISO 8601 timestamp of when the message was last edited.
DateTimeOffset? EditedAt { get; }
Property Value
Embeds
The embeds attached to the message.
IEnumerable<IEmbed>? Embeds { get; }
Property Value
Flags
Message flags bitfield.
MessageFlag Flags { get; }
Property Value
IsPinned
Whether the message is pinned.
bool IsPinned { get; }
Property Value
IsTTS
Whether the message was sent as text-to-speech.
bool IsTTS { get; }
Property Value
MentionEveryone
Whether the message mentions @everyone.
bool MentionEveryone { get; }
Property Value
MentionRoles
The role IDs mentioned in the message.
ulong[]? MentionRoles { get; }
Property Value
- ulong[]
Mentions
The users mentioned in the message.
IEnumerable<IUser>? Mentions { get; }
Property Value
MessageReference
Reference data for replies or forwards.
IMessageReference? MessageReference { get; }
Property Value
MessageSnapshots
Snapshots of forwarded messages.
IMessageSnapshot[]? MessageSnapshots { get; }
Property Value
Nonce
A client-provided value for message deduplication.
string? Nonce { get; }
Property Value
Reactions
The reactions on the message
IMessageReaction[]? Reactions { get; }
Property Value
Stickers
The stickers sent with the message.
ISticker[]? Stickers { get; }
Property Value
- ISticker[]
Type
The type of message.
MessageType Type { get; }
Property Value
WebhookId
The ID of the webhook that sent this message.
ulong? WebhookId { get; }