Table of Contents

Class DiscordThreadChannel

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

Represents a discord thread channel.

public class DiscordThreadChannel : DiscordChannel, IEquatable<DiscordChannel>
Inheritance
DiscordThreadChannel
Implements
Inherited Members
Extension Methods

Properties

AppliedTags

Gets the list of applied tags. Only applicable for forum channel posts.

CurrentMember

Represents the current member for this thread. This will have a value if the user has joined the thread.

MemberCount

Gets an approximate count of users in a thread, stops counting at 50.

MessageCount

Gets an approximate count of messages in a thread, stops counting at 50.

NewlyCreated

Gets whether this thread is newly created.

Why? We don't know.

OwnerId

Gets ID of the owner that started this thread.

ThreadMembers

Gets the thread members object.

ThreadMetadata

Gets the threads metadata.

TotalMessagesSent

Methods

AddMemberAsync(DiscordMember)

Adds a member to this thread.

AddMemberAsync(ulong)

Adds a member to this thread.

AddRoleAsync(DiscordRole)

Adds a role to this thread. Only applicable to private threads.

AddRoleAsync(ulong)

Adds a role to this thread. Only applicable to private threads.

AddTagAsync(ForumPostTag, string)

Add a tag to the current thread.

ArchiveAsync(string)

Archives a thread.

GetMemberAsync(DiscordMember, bool)

Gets a member in this thread.

GetMemberAsync(ulong, bool)

Gets a member in this thread.

GetMembersAsync(bool, ulong?, int?)

Gets the members of a thread. Needs the GuildMembers intent.

JoinAsync()

Joins a thread.

LeaveAsync()

Leaves a thread.

LockAsync(string)

Locks a thread.

ModifyAsync(Action<ThreadEditModel>)

Modifies the current thread.

RemoveMemberAsync(DiscordMember)

Removes a member from this thread. Only applicable to private threads.

RemoveMemberAsync(ulong)

Removes a member from this thread.

RemoveRoleAsync(DiscordRole)

Removes a role from this thread. Only applicable to private threads.

RemoveRoleAsync(ulong)

Removes a role from this thread. Only applicable to private threads.

RemoveTagAsync(ForumPostTag, string)

Remove a tag from the current thread.

ToString()

Returns a string representation of this thread.

TryGetMemberAsync(DiscordMember, bool)

Tries to get a member in this thread.

TryGetMemberAsync(ulong, bool)

Tries to get a member in this thread.

UnarchiveAsync(string)

Unarchives a thread.

UnlockAsync(string)

Unlocks a thread.