Table of Contents
API reference

Constructor ModalPage

Namespace
DisCatSharp.Interactivity.Entities
Assembly
DisCatSharp.Interactivity.dll

ModalPage(DiscordInteractionModalBuilder, DiscordButtonComponent, string)

Creates a new modal page for the paginated modal builder.

public ModalPage(DiscordInteractionModalBuilder modal, DiscordButtonComponent openButton = null, string openText = null)

Parameters

modal DiscordInteractionModalBuilder

The modal to display.

openButton DiscordButtonComponent

The button to display to open the current page. This is skipped if possible.

openText string

The text to display to open the current page. This is skipped if possible.