DiscordPHP Documentation

GuildMembersChunkData
in package

Raw data received from the `GUILD_MEMBERS_CHUNK` event.

Tags
see
Discord::handleGuildMembersChunk()
link
https://discord.com/developers/docs/events/gateway-events#guild-members-chunk-guild-members-chunk-event-fields
since
10.38.2

Table of Contents

Properties

$chunk_count  : int
$chunk_index  : int
$guild_id  : string
$members  : array<string|int, Member>
$nonce  : string|null
$not_found  : array<string|int, mixed>|null
$presences  : array<string|int, PresenceUpdate>|null

Properties

$chunk_index

public int $chunk_index

Chunk index in the expected chunks for this response (0 <= chunk_index < chunk_count).

$not_found

public array<string|int, mixed>|null $not_found

When passing an invalid ID to REQUEST_GUILD_MEMBERS, it will be returned here.

$presences

public array<string|int, PresenceUpdate>|null $presences

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


        
On this page

Search results