Method CreateInteractionIframeResponseAsync
- Namespace
- DisCatSharp.ApplicationCommands.Context
- Assembly
- DisCatSharp.ApplicationCommands.dll
CreateInteractionIframeResponseAsync(string, string, IframeModalSize, string?, CancellationToken)
Creates an iframe response to this interaction.
public Task CreateInteractionIframeResponseAsync(string customId, string title, IframeModalSize modalSize = IframeModalSize.Normal, string? iFramePath = null, CancellationToken cancellationToken = default)
Parameters
customIdstringThe custom id of the iframe.
titlestringThe title of the iframe.
modalSizeIframeModalSizeThe size of the iframe.
iFramePathstringThe path of the iframe.
cancellationTokenCancellationTokenA token to cancel the request.