Class MessageSnapshotMessage
- Namespace
- NetCord
- Assembly
- NetCord.dll
public class MessageSnapshotMessage : IJsonModel<JsonMessageSnapshotMessage>
- Inheritance
-
MessageSnapshotMessage
- Implements
- Inherited Members
Constructors
MessageSnapshotMessage(JsonMessageSnapshotMessage, ulong?, RestClient)
public MessageSnapshotMessage(JsonMessageSnapshotMessage jsonModel, ulong? guildId, RestClient client)
Parameters
jsonModel
JsonMessageSnapshotMessageguildId
ulong?client
RestClient
Properties
Attachments
A list of Attachment objects indexed by their IDs, containing any files attached in the message.
public IReadOnlyList<Attachment> Attachments { get; }
Property Value
Content
The text contents of the message.
public string Content { get; }
Property Value
EditedAt
When the message was edited (or null if never).
public DateTimeOffset? EditedAt { get; }
Property Value
Embeds
A list of Embed objects containing any embedded content present in the message.
public IReadOnlyList<Embed> Embeds { get; }
Property Value
Flags
A MessageFlags object indicating the message's applied flags.
public MessageFlags Flags { get; }
Property Value
MentionedRoleIds
A list of IDs corresponding to roles specifically mentioned in the message.
public IReadOnlyList<ulong> MentionedRoleIds { get; }
Property Value
MentionedUsers
A list of User objects indexed by their IDs, containing users specifically mentioned in the message.
public IReadOnlyList<User> MentionedUsers { get; }
Property Value
Type
The type of the message.
public MessageType Type { get; }