interface GatewayMessageEventExtraFields

external
export interface GatewayMessageEventExtraFields

https://discord.com/developers/docs/topics/gateway-events#message-create-message-create-extra-fields

optionalexternal
guild_id? : Snowflake

ID of the guild the message was sent in

optionalexternal
member? : Omit<APIGuildMember, 'user'>

Member properties for this message's authorThe member object exists in MESSAGE_CREATE and MESSAGE_UPDATE events from text-based guild channelsSee https://discord.com/developers/docs/resources/guild#guild-member-object

external
mentions : (APIUser & { member?: Omit<APIGuildMember, 'user'>; })[]

Users specifically mentioned in the messageThe member field is only present in MESSAGE_CREATE and MESSAGE_UPDATE events from text-based guild channelsSee https://discord.com/developers/docs/resources/user#user-object See https://discord.com/developers/docs/resources/guild#guild-member-object