ChannelToggle
@discordeno/bot • Docs
Documentation / @discordeno/bot / ChannelToggle
Variable: ChannelToggle
const
ChannelToggle:object
Type declaration
archived
archived:
number
Whether the thread is archived
invitable
invitable:
number
whether non-moderators can add other non-moderators to a thread; only available on private threads
locked
locked:
number
When a thread is locked, only users with MANAGE_THREADS
can unarchive it
managed
managed:
number
for group DM channels: whether the channel is managed by an application via the gdm.join
OAuth2 scope
newlyCreated
newlyCreated:
number
When a thread is created this will be true on that channel payload for the thread.
nsfw
nsfw:
number
Whether the channel is nsfw