NewsChannelBehavior
The behavior of a Discord News Channel associated to a guild.
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 the this behavior as a NewsChannel.
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 NewsChannel, returns null if the channel isn't present or if the channel isn't a news channel.
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 NewsChannel associated with this behaviour from the provided EntitySupplier
Retrieve the NewsChannel associated with this behaviour from the provided EntitySupplier returns null if the NewsChannel 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 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 NewsChannelBehavior with the given strategy.