Preview environment

interface GatewayGuildMembersChunkDispatchData

export interface GatewayGuildMembersChunkDispatchData

See also: 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

optional
nonce? : string

The nonce used in the Guild Members Request

See also: 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 here

See also: https://discord.com/developers/docs/topics/gateway-events#update-presence