Table of Contents

Class MessageRequest

Namespace
Fluxer.Net.Rest
Assembly
Fluxer.Net.dll
public class MessageRequest
Inheritance
object
MessageRequest

Properties

AllowedMentions

Controls which mentions trigger notifications.

[JsonProperty("allowed_mentions")]
public AllowedMentionsRequest? AllowedMentions { get; set; }

Property Value

AllowedMentionsRequest

Attachments

Array of attachment objects.

[JsonProperty("attachments")]
public List<AttachmentJson>? Attachments { get; set; }

Property Value

List<AttachmentJson>

Content

The message content (up to 2000 characters)

[JsonProperty("content")]
public string? Content { get; set; }

Property Value

string

Embeds

Array of embed objects to include in the message.

[JsonProperty("embeds")]
public EmbedRequest[]? Embeds { get; set; }

Property Value

EmbedRequest[]

FavoriteMediaId

ID of a favorite meme to attach.

[JsonProperty("favorite_meme_id")]
public ulong? FavoriteMediaId { get; set; }

Property Value

ulong?

Flags

Message flags bitfield.

[JsonProperty("flags")]
public MessageFlag Flags { get; set; }

Property Value

MessageFlag

IsTTS

Whether this is a text-to-speech message.

[JsonProperty("tts")]
public bool? IsTTS { get; set; }

Property Value

bool?

MessageReference

Reference to another message (for replies or forwards)

[JsonProperty("message_reference")]
public MessageReferenceRequest? MessageReference { get; set; }

Property Value

MessageReferenceRequest

Nonce

Client-generated identifier for the message.

[JsonProperty("nonce")]
public string? Nonce { get; set; }

Property Value

string

StickerIds

Array of sticker IDs to include (max 3)

[JsonProperty("sticker_ids")]
public List<ulong>? StickerIds { get; set; }

Property Value

List<ulong>

WebhookAvatarUrl

Custom webhook avatar for the message.

[JsonProperty("avatar_url")]
public string? WebhookAvatarUrl { get; set; }

Property Value

string

WebhookUsername

Custom webhook name for the message.

[JsonProperty("username")]
public string? WebhookUsername { get; set; }

Property Value

string