GatewayGuildMembersChunkDispatchData

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

Signature

export interface GatewayGuildMembersChunkDispatchData

Properties

members: APIGuildMember[];

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

chunk_index: number;

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

chunk_count: number;

The total number of expected chunks for this response

not_found?: unknown[];

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

presences?: GatewayGuildMembersChunkPresence[];

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

nonce?: string;

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