ThreadChannelBehavior
Properties
The guild behavior this channel is associated to.
Requests to get all members of the current thread.
This channel formatted as a mention as used by the Discord API.
Requests to get the pinned messages in this channel.
The supplier used to request entities.
Functions
Adds the user identified by id from the current thread. Requires the thread is not locked. or current bot has Manage Threads permission
Requests to get this behavior as a TopGuildChannel.
Requests to get the Channel represented by this ChannelBehavior.
Requests to get the Channel represented by this ChannelBehavior, returns null if the Channel isn't present.
Requests to get this behavior as a TopGuildChannel, returns null if the channel isn't present or if the channel isn't a guild channel.
Requests to create a message with only an embed.
Requests to create a message with only a MessageCreateBuilder.content.
Requests to create a message configured by the builder.
Deleting a thread requires the Manage Threads permission.
Requests to delete a message in this channel.
Retrieve the GuildMessageChannel associated with this behaviour from the provided EntitySupplier
Retrieve the GuildMessageChannel associated with this behaviour from the provided EntitySupplier returns null if the GuildMessageChannel isn't present.
Requests to get this channel's Guild, returns null if the guild isn't present.
Requests to get a message with the given messageId.
Requests to get a message with the given messageId, returns null if the message isn't present or is not part of this channel.
Requests to get this channel's ThreadParentChannel.
Requests to get this channel's ThreadParentChannel, returns null if the thread parent isn't present.
Join the the current thread. Requires the thread is not locked. or current bot has Manage Threads permission
Leaves the current thread if the bot has already joined. Requires the thread is not locked. or current bot has Manage Threads permission
Removes the user identified by id from the current thread. Requires the thread is not locked. or current bot has Manage Threads permission
Returns a new GuildMessageChannelBehavior with the given strategy.