Type alias ChannelFlags

ChannelFlags: {
    channelObfuscated: boolean;
    hideMediaDownloadOptions: boolean;
    isSpoilerChannel: boolean;
    pinned: boolean;
    requireTag: boolean;
}

Type declaration

  • channelObfuscated: boolean

    1 << 17: This channel's metadata has been obfuscated because the bot cannot view it.

    Only ever set on channels received over the gateway.

  • hideMediaDownloadOptions: boolean

    1 << 15: The download options for media are hidden in this media channel.

  • isSpoilerChannel: boolean

    1 << 21: This channel is a spoiler channel, users must opt in to view its contents.

  • pinned: boolean

    1 << 1: This thread is pinned to the top of its parent forum or media channel.

  • requireTag: boolean

    1 << 4: A tag is required to be specified when creating a thread in this forum or media channel.

Generated using TypeDoc