Skip to main content

DiscordGuildMembersChunk

Documentation


Documentation / @discordeno/types / DiscordGuildMembersChunk

Interface: DiscordGuildMembersChunk

Defined in: discord/gateway.ts:568

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

Properties

chunk_count

chunk_count: number

Defined in: discord/gateway.ts:576

The total number of expected chunks for this response


chunk_index

chunk_index: number

Defined in: discord/gateway.ts:574

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


guild_id

guild_id: string

Defined in: discord/gateway.ts:570

The id of the guild


members

members: DiscordMemberWithUser[]

Defined in: discord/gateway.ts:572

Set of guild members


nonce?

optional nonce?: string

Defined in: discord/gateway.ts:582

The nonce used in the Guild Members Request


not_found?

optional not_found?: string[]

Defined in: discord/gateway.ts:578

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


presences?

optional presences?: DiscordPresenceUpdate[]

Defined in: discord/gateway.ts:580

If passing true to REQUEST_GUILD_MEMBERS, presences of the returned members will be here