Preview environment

interface GatewayThreadMembersUpdate

export interface GatewayThreadMembersUpdate

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

optional
added_members? : APIThreadMember[]

The members that were added to the thread

guild_id : Snowflake

The id of the guild that the thread is in

The id of the thread for which members are being synced

member_count : number

The approximate member count of the thread, does not count above 50 even if there are more members

optional
removed_member_ids? : Snowflake[]

The ids of the members that were removed from the thread