Table of Contents
API reference

Class InteractionExtensions

Namespace
DisCatSharp.Interactivity.Extensions
Assembly
DisCatSharp.Interactivity.dll

The interaction extensions.

public static class InteractionExtensions
Inheritance
InteractionExtensions
Inherited Members

Methods

CreatePaginatedModalResponseAsync(DiscordInteraction, IReadOnlyList<ModalPage>, TimeSpan?)

Sends multiple modals to the user with a prompt to open the next one.

After the last modal, this method automatically responds with the thinking state. Use EditOriginalResponseAsync(DiscordWebhookBuilder, ModifyMode, CancellationToken) to interact with the response.

SendPaginatedResponseAsync(DiscordInteraction, bool, bool, DiscordUser, IEnumerable<Page>, PaginationButtons, PaginationBehaviour?, ButtonPaginationBehavior?, CancellationToken)

Sends a paginated message in response to an interaction.

Pass the interaction directly. Interactivity will ACK it.