Deprecated
API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.
import { type GatewayGuildMembersChunkDispatchData } from "https://deno.land/x/discord_api_types@0.37.81/v8.ts";
Properties
guild_id: Snowflake
The id of the guild
members: APIGuildMember[]
Set of guild members
See https://discord.com/developers/docs/resources/guild#guild-member-object
The chunk index in the expected chunks for this response (0 <= chunk_index < chunk_count
)
If passing an invalid id to REQUEST_GUILD_MEMBERS
, it will be returned here
optional
presences: RawGatewayPresenceUpdate[]If passing true to REQUEST_GUILD_MEMBERS
, presences of the returned members will be here
See https://discord.com/developers/docs/topics/gateway#presence
The nonce used in the Guild Members Request
See https://discord.com/developers/docs/topics/gateway#request-guild-members