Preview environment

interface GatewayGuildMembersChunkDispatchData

export interface GatewayGuildMembersChunkDispatchData

https://discord.com/developers/docs/topics/gateway-events#guild-members-chunk

chunk_count : number

The total number of expected chunks for this response

chunk_index : number

The chunk index in the expected chunks for this response (0 <= chunk_index < chunk_count)

guild_id : Snowflake

The id of the guild

members : APIGuildMember[]

Set of guild membersSee https://discord.com/developers/docs/resources/guild#guild-member-object

optional
nonce? : string

The nonce used in the Guild Members RequestSee https://discord.com/developers/docs/topics/gateway-events#request-guild-members

optional
not_found? : unknown[]

If passing an invalid id to REQUEST_GUILD_MEMBERS, it will be returned here

optional
presences? : GatewayGuildMembersChunkPresence[]

If passing true to REQUEST_GUILD_MEMBERS, presences of the returned members will be hereSee https://discord.com/developers/docs/topics/gateway-events#update-presence