@discord-types/bitflags/message
API reference for @discord-types/bitflags/message
@discord-types/bitflags/message
Types
MessageBitflag
Raw Type
type MessageBitflag = MessageBitflag.Prototype, & {
flag: number
}
Intersection with variants:
Variant 2
Prop | Type | Description |
---|---|---|
flag | - |
Functions
MessageBitflag.Prototype.crossposted
[[ this message has been published to subscribed channels (via Channel Following) ]]
Function Signature
--[[
this message has been published to subscribed channels (via Channel Following)
]]
function MessageBitflag.Prototype.crossposted(self: MessageBitflag) end
MessageBitflag.Prototype.isCrossposted
[[ this message originated from a message in another channel (via Channel Following) ]]
Function Signature
--[[
this message originated from a message in another channel (via Channel Following)
]]
function MessageBitflag.Prototype.isCrossposted(self: MessageBitflag) end
MessageBitflag.Prototype.suppressEmbeds
[[ do not include any embeds when serializing this message ]]
Function Signature
--[[
do not include any embeds when serializing this message
]]
function MessageBitflag.Prototype.suppressEmbeds(self: MessageBitflag) end
MessageBitflag.Prototype.setSuppressEmbeds
[[ set the suppress embeds bitflag ]]
Function Signature
--[[
set the suppress embeds bitflag
]]
function MessageBitflag.Prototype.setSuppressEmbeds(self: MessageBitflag) end
MessageBitflag.Prototype.sourceMessageDeleted
[[ the source message for this crosspost has been deleted (via Channel Following) ]]
Function Signature
--[[
the source message for this crosspost has been deleted (via Channel Following)
]]
function MessageBitflag.Prototype.sourceMessageDeleted(self: MessageBitflag) end
MessageBitflag.Prototype.urgent
[[ this message came from the urgent message system ]]
Function Signature
--[[
this message came from the urgent message system
]]
function MessageBitflag.Prototype.urgent(self: MessageBitflag) end
MessageBitflag.Prototype.hasThread
[[ this message has an associated thread, with the same id as the message ]]
Function Signature
--[[
this message has an associated thread, with the same id as the message
]]
function MessageBitflag.Prototype.hasThread(self: MessageBitflag) end
MessageBitflag.Prototype.ephemeral
[[ this message is only visible to the user who invoked the Interaction ]]
Function Signature
--[[
this message is only visible to the user who invoked the Interaction
]]
function MessageBitflag.Prototype.ephemeral(self: MessageBitflag) end
MessageBitflag.Prototype.setEphemeral
[[ set the ephemeral bitflag ]]
Function Signature
--[[
set the ephemeral bitflag
]]
function MessageBitflag.Prototype.setEphemeral(self: MessageBitflag) end
MessageBitflag.Prototype.loading
[[ this message is an Interaction Response and the bot is "thinking" ]]
Function Signature
--[[
this message is an Interaction Response and the bot is "thinking"
]]
function MessageBitflag.Prototype.loading(self: MessageBitflag) end
MessageBitflag.Prototype.setLoading
[[ set the loading bitflag ]]
Function Signature
--[[
set the loading bitflag
]]
function MessageBitflag.Prototype.setLoading(self: MessageBitflag) end
MessageBitflag.Prototype.failedToMentionSomeRolesInThread
[[ this message failed to mention some roles and add their members to the thread ]]
Function Signature
--[[
this message failed to mention some roles and add their members to the thread
]]
function MessageBitflag.Prototype.failedToMentionSomeRolesInThread(self: MessageBitflag) end
MessageBitflag.Prototype.suppressNotifications
[[ this message will not trigger push and desktop notifications ]]
Function Signature
--[[
this message will not trigger push and desktop notifications
]]
function MessageBitflag.Prototype.suppressNotifications(self: MessageBitflag) end
MessageBitflag.Prototype.setSuppressNotifications
[[ set the suppress notifications bitflag ]]
Function Signature
--[[
set the suppress notifications bitflag
]]
function MessageBitflag.Prototype.setSuppressNotifications(self: MessageBitflag) end
MessageBitflag.Prototype.isVoiceMessage
[[ this message is a voice message ]]
Function Signature
--[[
this message is a voice message
]]
function MessageBitflag.Prototype.isVoiceMessage(self: MessageBitflag) end
MessageBitflag.Prototype.setVoiceMessage
[[ set the voice message bitflag ]]
Function Signature
--[[
set the voice message bitflag
]]
function MessageBitflag.Prototype.setVoiceMessage(self: MessageBitflag) end
MessageBitflag.Interface.new
Function Signature
function MessageBitflag.Interface.new(flag: number) -> MessageBitflag end
Arguments
flag
Returns
ret1
Last updated on