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
messageId
ulongThe id of the followup message to edit.
content
stringContent 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
messageId
ulongThe id of the followup message to edit.
embed
DiscordEmbedEmbed 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
messageId
ulongThe id of the followup message to edit.
content
stringContent to send in the followup message.
embed
DiscordEmbedEmbed 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
messageId
ulongThe id of the followup message to edit.
builder
IDiscordMessageBuilderThe message builder.
Returns
- ValueTask<DiscordMessage>
The edited message.