Table of Contents

Interface IGuildUserChunkShardedGatewayHandler

Namespace
NetCord.Hosting.Gateway
Assembly
NetCord.Hosting.dll

Sent in response to RequestGuildUsersAsync(GuildUsersRequestProperties, WebSocketPayloadProperties?, CancellationToken). You can use the ChunkIndex and ChunkCount to calculate how many chunks are left for your request.

public interface IGuildUserChunkShardedGatewayHandler : IShardedGatewayHandler

Remarks


Required Intents: None
Optional Intents: None

Methods

HandleAsync(GatewayClient, GuildUserChunkEventArgs)

Handles the gateway event.

ValueTask HandleAsync(GatewayClient client, GuildUserChunkEventArgs arg)

Parameters

client GatewayClient

The gateway client that represents the shard that received the event.

arg GuildUserChunkEventArgs

The event argument.

Returns

ValueTask