Table of Contents

Class ForumGuildThreadMessageProperties

Namespace
NetCord.Rest
Assembly
NetCord.dll
public class ForumGuildThreadMessageProperties : IMessageProperties
Inheritance
ForumGuildThreadMessageProperties
Implements
Inherited Members

Constructors

ForumGuildThreadMessageProperties()

public ForumGuildThreadMessageProperties()

Properties

AllowedMentions

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
[JsonPropertyName("allowed_mentions")]
public AllowedMentionsProperties? AllowedMentions { get; set; }

Property Value

AllowedMentionsProperties

Attachments

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
[JsonConverter(typeof(AttachmentPropertiesIEnumerableConverter))]
[JsonPropertyName("attachments")]
public IEnumerable<AttachmentProperties>? Attachments { get; set; }

Property Value

IEnumerable<AttachmentProperties>

Components

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
[JsonPropertyName("components")]
public IEnumerable<ComponentProperties>? Components { get; set; }

Property Value

IEnumerable<ComponentProperties>

Content

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
[JsonPropertyName("content")]
public string? Content { get; set; }

Property Value

string

Embeds

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
[JsonPropertyName("embeds")]
public IEnumerable<EmbedProperties>? Embeds { get; set; }

Property Value

IEnumerable<EmbedProperties>

Flags

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
[JsonPropertyName("flags")]
public MessageFlags? Flags { get; set; }

Property Value

MessageFlags?

StickerIds

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
[JsonPropertyName("sticker_ids")]
public IEnumerable<ulong>? StickerIds { get; set; }

Property Value

IEnumerable<ulong>

Methods

AddAttachments(params AttachmentProperties[])

public ForumGuildThreadMessageProperties AddAttachments(params AttachmentProperties[] attachments)

Parameters

attachments AttachmentProperties[]

Returns

ForumGuildThreadMessageProperties

AddAttachments(IEnumerable<AttachmentProperties>)

public ForumGuildThreadMessageProperties AddAttachments(IEnumerable<AttachmentProperties> attachments)

Parameters

attachments IEnumerable<AttachmentProperties>

Returns

ForumGuildThreadMessageProperties

AddComponents(params ComponentProperties[])

public ForumGuildThreadMessageProperties AddComponents(params ComponentProperties[] components)

Parameters

components ComponentProperties[]

Returns

ForumGuildThreadMessageProperties

AddComponents(IEnumerable<ComponentProperties>)

public ForumGuildThreadMessageProperties AddComponents(IEnumerable<ComponentProperties> components)

Parameters

components IEnumerable<ComponentProperties>

Returns

ForumGuildThreadMessageProperties

AddEmbeds(params EmbedProperties[])

public ForumGuildThreadMessageProperties AddEmbeds(params EmbedProperties[] embeds)

Parameters

embeds EmbedProperties[]

Returns

ForumGuildThreadMessageProperties

AddEmbeds(IEnumerable<EmbedProperties>)

public ForumGuildThreadMessageProperties AddEmbeds(IEnumerable<EmbedProperties> embeds)

Parameters

embeds IEnumerable<EmbedProperties>

Returns

ForumGuildThreadMessageProperties

AddStickerIds(IEnumerable<ulong>)

public ForumGuildThreadMessageProperties AddStickerIds(IEnumerable<ulong> stickerIds)

Parameters

stickerIds IEnumerable<ulong>

Returns

ForumGuildThreadMessageProperties

AddStickerIds(params ulong[])

public ForumGuildThreadMessageProperties AddStickerIds(params ulong[] stickerIds)

Parameters

stickerIds ulong[]

Returns

ForumGuildThreadMessageProperties

WithAllowedMentions(AllowedMentionsProperties?)

public ForumGuildThreadMessageProperties WithAllowedMentions(AllowedMentionsProperties? allowedMentions)

Parameters

allowedMentions AllowedMentionsProperties

Returns

ForumGuildThreadMessageProperties

WithAttachments(IEnumerable<AttachmentProperties>?)

public ForumGuildThreadMessageProperties WithAttachments(IEnumerable<AttachmentProperties>? attachments)

Parameters

attachments IEnumerable<AttachmentProperties>

Returns

ForumGuildThreadMessageProperties

WithComponents(IEnumerable<ComponentProperties>?)

public ForumGuildThreadMessageProperties WithComponents(IEnumerable<ComponentProperties>? components)

Parameters

components IEnumerable<ComponentProperties>

Returns

ForumGuildThreadMessageProperties

WithContent(string?)

public ForumGuildThreadMessageProperties WithContent(string? content)

Parameters

content string

Returns

ForumGuildThreadMessageProperties

WithEmbeds(IEnumerable<EmbedProperties>?)

public ForumGuildThreadMessageProperties WithEmbeds(IEnumerable<EmbedProperties>? embeds)

Parameters

embeds IEnumerable<EmbedProperties>

Returns

ForumGuildThreadMessageProperties

WithFlags(MessageFlags?)

public ForumGuildThreadMessageProperties WithFlags(MessageFlags? flags)

Parameters

flags MessageFlags?

Returns

ForumGuildThreadMessageProperties

WithStickerIds(IEnumerable<ulong>?)

public ForumGuildThreadMessageProperties WithStickerIds(IEnumerable<ulong>? stickerIds)

Parameters

stickerIds IEnumerable<ulong>

Returns

ForumGuildThreadMessageProperties

Operators

implicit operator ForumGuildThreadMessageProperties(string)

public static implicit operator ForumGuildThreadMessageProperties(string content)

Parameters

content string

Returns

ForumGuildThreadMessageProperties