Skip to main content

LobbyMessage

Documentation


Documentation / @discordeno/bot / LobbyMessage

Interface: LobbyMessage

Defined in: transformers/types.ts:2154

https://docs.discord.com/developers/resources/lobby#lobby-message-object

Properties

applicationId

applicationId: bigint

Defined in: transformers/types.ts:2178

The application that sent the message


author

author: User

Defined in: transformers/types.ts:2166

The user who sent the message


channelId

channelId: bigint

Defined in: transformers/types.ts:2164

Included for compatibility with the messages interface; equal to lobby_id


content

content: string

Defined in: transformers/types.ts:2160

Message content


flags

flags: ToggleBitfield

Defined in: transformers/types.ts:2176

Message flags bitfield

See

MessageFlags


id

id: bigint

Defined in: transformers/types.ts:2156

id of the message


lobbyId

lobbyId: bigint

Defined in: transformers/types.ts:2162

id of the lobby this message was sent to


metadata?

optional metadata?: Record<string, string>

Defined in: transformers/types.ts:2168

Dispatch-only metadata sent with the message


moderationMetadata?

optional moderationMetadata?: Record<string, string>

Defined in: transformers/types.ts:2170

Moderation metadata set via Update Lobby Message Moderation Metadata


type

type: MessageTypes

Defined in: transformers/types.ts:2158

Message type