TextChannelBehavior
Inheritors
Properties
Returns all active public and private threads in the channel. Threads are ordered by their id, in descending order.
The guild behavior this channel is associated to.
Requests to get the invites of this channel.
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
Requests to add or replace a PermissionOverwrite to this entity.
Requests to get this behavior as a TextChannel.
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 TextChannel, returns null if the channel isn't present or if the channel isn't a TextChannel.
Requests to create a message with only an embed.
Request to create an InviteWithMetadata for this channel.
Requests to create a message with only a MessageCreateBuilder.content.
Requests to create a message configured by the builder.
Requests to create a new webhook configured by the builder.
Requests to delete a message in this channel.
Requests to edit this channel.
Requests to add or replace a PermissionOverwrite for the memberId.
Requests to add or replace a PermissionOverwrite for the roleId.
Retrieve the TextChannel associated with this behaviour from the provided EntitySupplier
Retrieve the TextChannel associated with this behaviour from the provided EntitySupplier returns null if the TextChannel isn't present.
Requests to get this channel's Guild, returns null if the guild isn't present.
Returns archived threads in the channel that are private, and the user has joined. Threads are ordered by their ThreadChannel.id in descending order. Requires the Read Message History Permission.
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 the position of this channel in the guild, as displayed in Discord.
Returns archived threads in the channel that are private. Threads are ordered by ThreadChannel.archiveTimestamp in descending order. Requires the Read Message History Permission and Manage Threads Permission
Returns archived threads in the channel that are public. Threads are ordered by ThreadChannel.archiveTimestamp in descending order. Requires the Read Message History Permission
Returns a new TextChannelBehavior with the given strategy.