Table of Contents

Interface IGuildThreadCreateShardedGatewayHandler

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

Sent when a thread is created, relevant to the bot, or when the current user is added to a thread. The inner payload is an IGuildChannel object.

public interface IGuildThreadCreateShardedGatewayHandler : IShardedGatewayHandler

Remarks


Required Intents: Guilds
Optional Intents: None

Methods

HandleAsync(GatewayClient, GuildThreadCreateEventArgs)

ValueTask HandleAsync(GatewayClient client, GuildThreadCreateEventArgs arg)

Parameters

client GatewayClient
arg GuildThreadCreateEventArgs

Returns

ValueTask