Table of Contents

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 JsonMessageSnapshotMessage
guildId 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

IReadOnlyList<Attachment>

Content

The text contents of the message.

public string Content { get; }

Property Value

string

EditedAt

When the message was edited (or null if never).

public DateTimeOffset? EditedAt { get; }

Property Value

DateTimeOffset?

Embeds

A list of Embed objects containing any embedded content present in the message.

public IReadOnlyList<Embed> Embeds { get; }

Property Value

IReadOnlyList<Embed>

Flags

A MessageFlags object indicating the message's applied flags.

public MessageFlags Flags { get; }

Property Value

MessageFlags

MentionedRoleIds

A list of IDs corresponding to roles specifically mentioned in the message.

public IReadOnlyList<ulong> MentionedRoleIds { get; }

Property Value

IReadOnlyList<ulong>

MentionedUsers

A list of User objects indexed by their IDs, containing users specifically mentioned in the message.

public IReadOnlyList<User> MentionedUsers { get; }

Property Value

IReadOnlyList<User>

Type

The type of the message.

public MessageType Type { get; }

Property Value

MessageType