Method EditFollowupAsync
- Namespace
- DSharpPlus.Commands
- Assembly
- DSharpPlus.Commands.dll
EditFollowupAsync(ulong, string)
Edits a followup message.
public virtual ValueTask<DiscordMessage> EditFollowupAsync(ulong messageId, string content)
Parameters
messageIdulongThe id of the followup message to edit.
contentstringContent to send in the followup message.
Returns
- ValueTask<DiscordMessage>
The edited message.
EditFollowupAsync(ulong, DiscordEmbed)
Edits a followup message.
public virtual ValueTask<DiscordMessage> EditFollowupAsync(ulong messageId, DiscordEmbed embed)
Parameters
messageIdulongThe id of the followup message to edit.
embedDiscordEmbedEmbed to send in the followup message.
Returns
- ValueTask<DiscordMessage>
The edited message.
EditFollowupAsync(ulong, string, DiscordEmbed)
Edits a followup message.
public virtual ValueTask<DiscordMessage> EditFollowupAsync(ulong messageId, string content, DiscordEmbed embed)
Parameters
messageIdulongThe id of the followup message to edit.
contentstringContent to send in the followup message.
embedDiscordEmbedEmbed to send in the followup message.
Returns
- ValueTask<DiscordMessage>
The edited message.
EditFollowupAsync(ulong, IDiscordMessageBuilder)
Edits a followup message.
public abstract ValueTask<DiscordMessage> EditFollowupAsync(ulong messageId, IDiscordMessageBuilder builder)
Parameters
messageIdulongThe id of the followup message to edit.
builderIDiscordMessageBuilderThe message builder.
Returns
- ValueTask<DiscordMessage>
The edited message.