Table of Contents

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

builder DiscordFollowupMessageBuilder

The message to be sent, in the form of a webhook.

cancellationToken CancellationToken

A 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

content string

The content of the message to be sent.

cancellationToken CancellationToken

A token to cancel the request.

Returns

Task<DiscordMessage>

The created message.