Table of Contents

Interface IInteractionCreateGatewayHandler

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

Sent when a user uses an interaction. Inner payload is an Interaction.

public interface IInteractionCreateGatewayHandler : IGatewayHandler

Remarks


Required Intents: None
Optional Intents: None

Methods

HandleAsync(Interaction)

Handles the gateway event.

ValueTask HandleAsync(Interaction arg)

Parameters

arg Interaction

The event argument.

Returns

ValueTask