Table of Contents

Class DiscordMessageSnapshotContent

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

Represents a Discord text message snapshot.

public class DiscordMessageSnapshotContent
Inheritance
object
DiscordMessageSnapshotContent

Properties

Attachments

Gets files attached to this message.

ComponentActionRows

Gets the action rows this message was sent with - components holding buttons, selects and the likes.

Components

Gets the components this message was sent with.

Content

Gets the message's content.

EditedTimestamp

Gets the message's edit timestamp. Will be null if the message was not edited.

Embeds

Gets embeds attached to this message.

Flags

Gets the bitwise flags for this message.

IsEdited

Gets whether this message was edited.

MentionedChannels

Gets channels mentioned by this message.

MentionedRoles

Gets roles mentioned by this message.

MentionedUsers

Gets users or members mentioned by this message.

MessageType

Gets the type of the message.

Stickers

Gets stickers for this message.

Timestamp

Gets the message's creation timestamp.

Methods

FilterComponents<T>()

Searches the components on this message for an aggregate of all components of a certain type.

ToString()

Returns a string representation of this message.