Table of Contents

Method GetStickerAsync

Namespace
DisCatSharp
Assembly
DisCatSharp.dll

GetStickerAsync(ulong)

Gets a sticker.

public Task<DiscordSticker> GetStickerAsync(ulong id)

Parameters

id ulong

The id of the sticker.

Returns

Task<DiscordSticker>

The requested sticker.

Exceptions

NotFoundException

Thrown when the sticker does not exist.

BadRequestException

Thrown when an invalid parameter was provided.

ServerErrorException

Thrown when Discord is unable to process the request.