MediaChannel
Properties
Returns all active public and private threads in the channel. Threads are ordered by their id, in descending order.
The set of tags that can be used in this channel.
The category behavior this channel belongs to, if any.
The id of the category this channel belongs to, if any.
Default ArchiveDuration, copied onto newly created threads in this channel. Threads will stop showing in the channel list after the specified period of inactivity.
The emoji to show in the add reaction button on a thread in this channel.
The default SortOrderType used to order posts in this channel.
The initial ThreadChannel.rateLimitPerUser to set on newly created threads in this channel. This field is copied to the thread at creation time and does not live update.
The flags of this channel, if present.
The guild behavior this channel is associated to.
Requests to get the invites of this channel.
The id of the last thread created in this channel (may not point to an existing or valid thread).
This channel formatted as a mention as used by the Discord API.
The permission overwrites for this channel.
The amount of time a user has to wait before creating another thread.
The raw position of this channel in the guild as displayed by Discord.
The supplier used to request entities.
The type of this channel.
Functions
Requests to add or replace a PermissionOverwrite to this entity.
Requests to get this behavior as a CategorizableChannel.
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 CategorizableChannel, returns null if the channel isn't present or if the channel isn't a guild channel.
Request to create an InviteWithMetadata for this channel.
Requests to create a new webhook configured by the builder.
Requests to add or replace a PermissionOverwrite for the memberId.
Requests to add or replace a PermissionOverwrite for the roleId.
Retrieve the ThreadParentChannel associated with this behaviour from the provided EntitySupplier
Retrieve the ThreadParentChannel associated with this behaviour from the provided EntitySupplier returns null if the ThreadParentChannel isn't present.
Calculates the effective permissions of the memberId in this channel, applying the overwrite for the member and their roles on top of the base permissions.
Requests to get this channel's Guild, returns null if the guild isn't present.
Gets the permission overwrite for the memberId in this channel, if present.
Gets the permission overwrite for the roleId in this channel, if present.
Requests to get the position of this channel in the guild, as displayed in Discord.
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 CategorizableChannelBehavior with the given strategy.