Method CreateInteractionIframeResponseAsync
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
CreateInteractionIframeResponseAsync(string, string, IframeModalSize, string?)
Creates an iframe response to this interaction.
public Task CreateInteractionIframeResponseAsync(string customId, string title, IframeModalSize modalSize = IframeModalSize.Normal, string? iFramePath = null)
Parameters
customIdstringThe custom id of the iframe.
titlestringThe title of the iframe.
modalSizeIframeModalSizeThe size of the iframe.
iFramePathstringThe path of the iframe. Uses %application_id%.discordsays.com/
:iframe_path.