Method GetMessageAsync
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.dll
GetMessageAsync(ulong)
Gets a previously-sent webhook message.
public Task<DiscordMessage> GetMessageAsync(ulong messageId)
Parameters
messageId
ulong
Returns
Exceptions
- NotFoundException
Thrown when the webhook or message does not exist.
- BadRequestException
Thrown when an invalid parameter was provided.
- ServerErrorException
Thrown when Discord is unable to process the request.