Skip to main content

DiscordThreadMembersUpdate

@discordeno/bot


Documentation / @discordeno/bot / DiscordThreadMembersUpdate

Interface: DiscordThreadMembersUpdate

Defined in: packages/types/dist/types/discord/gateway.d.ts:290

https://discord.com/developers/docs/events/gateway-events#thread-members-update-thread-members-update-event-fields

Properties

added_members?

optional added_members: DiscordThreadMember[]

Defined in: packages/types/dist/types/discord/gateway.d.ts:296

The users who were added to the thread


guild_id

guild_id: string

Defined in: packages/types/dist/types/discord/gateway.d.ts:294

The id of the guild


id

id: string

Defined in: packages/types/dist/types/discord/gateway.d.ts:292

The id of the thread


member_count

member_count: number

Defined in: packages/types/dist/types/discord/gateway.d.ts:300

the approximate number of members in the thread, capped at 50


removed_member_ids?

optional removed_member_ids: string[]

Defined in: packages/types/dist/types/discord/gateway.d.ts:298

The id of the users who were removed from the thread