Table of Contents

Interface IMessage

Namespace
Fluxer.Net
Assembly
Fluxer.Net.dll
public interface IMessage : ISnowflake
Inherited Members

Properties

Attachments

The files attached to the message.

IAttachment[]? Attachments { get; }

Property Value

IAttachment[]

Author

Partial user that sent the message.

IUser Author { get; }

Property Value

IUser

Call

Call information if this message represents a call

IMessageCall? Call { get; }

Property Value

IMessageCall

ChannelId

The ID of the channel this message was sent in.

ulong ChannelId { get; }

Property Value

ulong

Content

The text content of the message.

string Content { get; }

Property Value

string

EditedAt

The ISO 8601 timestamp of when the message was last edited.

DateTimeOffset? EditedAt { get; }

Property Value

DateTimeOffset?

Embeds

The embeds attached to the message.

IEnumerable<IEmbed>? Embeds { get; }

Property Value

IEnumerable<IEmbed>

Flags

Message flags bitfield.

MessageFlag Flags { get; }

Property Value

MessageFlag

IsPinned

Whether the message is pinned.

bool IsPinned { get; }

Property Value

bool

IsTTS

Whether the message was sent as text-to-speech.

bool IsTTS { get; }

Property Value

bool

MentionEveryone

Whether the message mentions @everyone.

bool MentionEveryone { get; }

Property Value

bool

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

IEnumerable<IUser>

MessageReference

Reference data for replies or forwards.

IMessageReference? MessageReference { get; }

Property Value

IMessageReference

MessageSnapshots

Snapshots of forwarded messages.

IMessageSnapshot[]? MessageSnapshots { get; }

Property Value

IMessageSnapshot[]

Nonce

A client-provided value for message deduplication.

string? Nonce { get; }

Property Value

string

Reactions

The reactions on the message

IMessageReaction[]? Reactions { get; }

Property Value

IMessageReaction[]

Stickers

The stickers sent with the message.

ISticker[]? Stickers { get; }

Property Value

ISticker[]

Type

The type of message.

MessageType Type { get; }

Property Value

MessageType

WebhookId

The ID of the webhook that sent this message.

ulong? WebhookId { get; }

Property Value

ulong?