Method FollowUpAsync
- Namespace
- DisCatSharp.ApplicationCommands.Context
- Assembly
- DisCatSharp.ApplicationCommands.dll
FollowUpAsync(DiscordFollowupMessageBuilder, CancellationToken)
Creates a follow up message to the interaction.
public Task<DiscordMessage> FollowUpAsync(DiscordFollowupMessageBuilder builder, CancellationToken cancellationToken = default)
Parameters
builderDiscordFollowupMessageBuilderThe message to be sent, in the form of a webhook.
cancellationTokenCancellationTokenA token to cancel the request.
Returns
- Task<DiscordMessage>
The created message.
FollowUpAsync(string, CancellationToken)
Creates a follow up message to the interaction.
public Task<DiscordMessage> FollowUpAsync(string content, CancellationToken cancellationToken = default)
Parameters
contentstringThe content of the message to be sent.
cancellationTokenCancellationTokenA token to cancel the request.
Returns
- Task<DiscordMessage>
The created message.