Types

Link copied to clipboard
object Companion
Link copied to clipboard

When set hides the embedded media download options. Available only for GuildMedia channels.

Link copied to clipboard

This thread is pinned to the top of its parent GuildForum or GuildMedia channel.

Link copied to clipboard

Whether a tag is required to be specified when creating a thread in a GuildForum or GuildMedia channel.

Link copied to clipboard

An unknown ChannelFlag.

Properties

Link copied to clipboard
val code: Int

The raw code used by Discord.

Link copied to clipboard
val shift: Int

The position of the bit that is set in this ChannelFlag. This is always in 0..30.

Functions

Link copied to clipboard
operator override fun equals(other: Any?): Boolean
Link copied to clipboard
override fun hashCode(): Int
Link copied to clipboard
operator fun plus(flag: ChannelFlag): ChannelFlags

Returns an instance of ChannelFlags that has all bits set that are set in this and flag.

operator fun plus(flags: ChannelFlags): ChannelFlags

Returns an instance of ChannelFlags that has all bits set that are set in this and flags.

Link copied to clipboard
override fun toString(): String