Class MessageSnapshot
Fluxer entity with client attached.
public class MessageSnapshot : Entity, IMessageSnapshot
- Inheritance
-
objectMessageSnapshot
- Implements
Properties
Attachments
public Attachment[]? Attachments { get; }
Property Value
Content
The text content of the snapshot.
public string? Content { get; }
Property Value
CreatedAt
The ISO 8601 timestamp of when the original message was created.
public DateTimeOffset CreatedAt { get; }
Property Value
EditedAt
The ISO 8601 timestamp of when the original message was last edited
public DateTimeOffset? EditedAt { get; }
Property Value
Embeds
public Embed[]? Embeds { get; }
Property Value
- Embed[]
Flags
Message flags bitfield.
public MessageFlag Flags { get; }
Property Value
MentionedRoleIds
The role IDs mentioned in the snapshot.
public HashSet<ulong>? MentionedRoleIds { get; }
Property Value
MentionedUserIds
The user IDs mentioned in the snapshot.
public HashSet<ulong>? MentionedUserIds { get; }
Property Value
Stickers
public Sticker[]? Stickers { get; }
Property Value
- Sticker[]
Type
The type of message.
public MessageType Type { get; }
Property Value
Methods
Create(FluxerBaseClient, MessageSnapshotJson, ulong)
Create a MessageSnapshot object from json.
public static MessageSnapshot Create(FluxerBaseClient client, MessageSnapshotJson json, ulong channelId)
Parameters
clientFluxerBaseClientjsonMessageSnapshotJsonchannelIdulong