LogoAntiRaid

@discord-types/bitflags/channel

API reference for @discord-types/bitflags/channel

@discord-types/bitflags/channel

Types

ChannelBitflag

Raw Type
type ChannelBitflag = ChannelBitflag.Prototype, & {
	flag: number
}

Intersection with variants:

Variant 2
PropTypeDescription
flag
-

Functions

ChannelBitflag.Prototype.isPinned

[[ if this thread is pinned to the top of its parent GUILD_FORUM or GUILD_MEDIA channel ]]

Function Signature
--[[
	if this thread is pinned to the top of its parent GUILD_FORUM or GUILD_MEDIA channel
]]
function ChannelBitflag.Prototype.isPinned(self: ChannelBitflag) end

ChannelBitflag.Prototype.requiresTag

[[ whether a tag is required to be specified when creating a thread in a GUILD_FORUM or a GUILD_MEDIA channel. Tags are specified in the applied_tags field. ]]

Function Signature
--[[
	whether a tag is required to be specified when creating a thread in a
	GUILD_FORUM or a GUILD_MEDIA channel. Tags are specified in the applied_tags field.
]]
function ChannelBitflag.Prototype.requiresTag(self: ChannelBitflag) end

ChannelBitflag.Prototype.hideMediaDownloadOptions

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

Function Signature
--[[
	When set hides the embedded media download options. Available only for media channels
]]
function ChannelBitflag.Prototype.hideMediaDownloadOptions(self: ChannelBitflag) end

ChannelBitflag.Interface.new

Function Signature
function ChannelBitflag.Interface.new(flag: number) -> ChannelBitflag end

Arguments

flag

number

Returns

ret1

ChannelBitflag

Last updated on