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
modalDiscordInteractionModalBuilderThe modal to display.
openButtonDiscordButtonComponentThe button to display to open the current page. This is skipped if possible.
openTextstringThe text to display to open the current page. This is skipped if possible.