Table of Contents

Interface IGuildThreadUsersUpdateShardedGatewayHandler

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

Sent when anyone is added to or removed from a thread.

public interface IGuildThreadUsersUpdateShardedGatewayHandler : IShardedGatewayHandler

Remarks


Required Intents: Guilds, GuildUsers*
Optional Intents:

  • GuildUsers For receiving this event when other users are added / removed, otherwise this event will only fire for the bot's user.


*Must also be enabled in the developer portal.

Methods

HandleAsync(GatewayClient, GuildThreadUsersUpdateEventArgs)

Handles the gateway event.

ValueTask HandleAsync(GatewayClient client, GuildThreadUsersUpdateEventArgs arg)

Parameters

client GatewayClient

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

arg GuildThreadUsersUpdateEventArgs

The event argument.

Returns

ValueTask