Table of Contents

Class MessageSnapshot

Namespace
Fluxer.Net
Assembly
Fluxer.Net.dll

Fluxer entity with client attached.

public class MessageSnapshot : Entity, IMessageSnapshot
Inheritance
object
MessageSnapshot
Implements

Properties

Attachments

public Attachment[]? Attachments { get; }

Property Value

Attachment[]

Content

The text content of the snapshot.

public string? Content { get; }

Property Value

string

CreatedAt

The ISO 8601 timestamp of when the original message was created.

public DateTimeOffset CreatedAt { get; }

Property Value

DateTimeOffset

EditedAt

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

public DateTimeOffset? EditedAt { get; }

Property Value

DateTimeOffset?

Embeds

public Embed[]? Embeds { get; }

Property Value

Embed[]

Flags

Message flags bitfield.

public MessageFlag Flags { get; }

Property Value

MessageFlag

MentionedRoleIds

The role IDs mentioned in the snapshot.

public HashSet<ulong>? MentionedRoleIds { get; }

Property Value

HashSet<ulong>

MentionedUserIds

The user IDs mentioned in the snapshot.

public HashSet<ulong>? MentionedUserIds { get; }

Property Value

HashSet<ulong>

Stickers

public Sticker[]? Stickers { get; }

Property Value

Sticker[]

Type

The type of message.

public MessageType Type { get; }

Property Value

MessageType

Methods

Create(FluxerBaseClient, MessageSnapshotJson, ulong)

Create a MessageSnapshot object from json.

public static MessageSnapshot Create(FluxerBaseClient client, MessageSnapshotJson json, ulong channelId)

Parameters

client FluxerBaseClient
json MessageSnapshotJson
channelId ulong

Returns

MessageSnapshot