Preview environment

interface GatewayGuildMemberAddDispatchData

export interface GatewayGuildMemberAddDispatchData extends APIGuildMember

https://discord.com/developers/docs/topics/gateway-events#guild-member-add

optional
avatar_decoration_data? : APIAvatarDecorationData | null

The data for the member's guild avatar decorationSee https://discord.com/developers/docs/resources/user#avatar-decoration-data-object

Inherited from: APIGuildMember

optional
avatar? : string | null

The member's guild avatar hash

Inherited from: APIGuildMember

The member's guild banner hash

Inherited from: APIGuildMember

optional
communication_disabled_until? : string | null

Timestamp of when the time out will be removed; until then, they cannot interact with the guild

Inherited from: APIGuildMember

deaf : boolean

Whether the user is deafened in voice channels

Inherited from: APIGuildMember

Guild member flags represented as a bit set, defaults to 0

Inherited from: APIGuildMember

guild_id : Snowflake

The id of the guild

joined_at : string

When the user joined the guild

Inherited from: APIGuildMember

mute : boolean

Whether the user is muted in voice channels

Inherited from: APIGuildMember

optional
nick? : string | null

This users guild nickname

Inherited from: APIGuildMember

optional
pending? : boolean

Whether the user has not yet passed the guild's Membership Screening requirements

Inherited from: APIGuildMember

optional
premium_since? : string | null

When the user started boosting the guildSee https://support.discord.com/hc/articles/360028038352

Inherited from: APIGuildMember

roles : Snowflake[]

Array of role object idsSee https://discord.com/developers/docs/topics/permissions#role-object

Inherited from: APIGuildMember

user : APIUser

The user this guild member represents**This field won't be included in the member object attached to MESSAGE_CREATE and MESSAGE_UPDATE gateway events.**See https://discord.com/developers/docs/resources/user#user-object

Inherited from: APIGuildMember