Interface IGuildThreadCreateShardedGatewayHandler
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)
Handles the gateway event.
ValueTask HandleAsync(GatewayClient client, GuildThreadCreateEventArgs arg)
Parameters
clientGatewayClientThe gateway client that represents the shard that received the event.
argGuildThreadCreateEventArgsThe event argument.