Method GetEmoteById
- Namespace
- GuildWars2.Hero.Emotes
- Assembly
- GW2SDK.dll
GetEmoteById(string, MissingMemberBehavior, CancellationToken)
Retrieves an emote by its ID.
public Task<(Emote Value, MessageContext Context)> GetEmoteById(string emoteId, MissingMemberBehavior missingMemberBehavior = MissingMemberBehavior.Error, CancellationToken cancellationToken = default)
Parameters
emoteId
stringThe emote ID.
missingMemberBehavior
MissingMemberBehaviorThe desired behavior when JSON contains unexpected members.
cancellationToken
CancellationTokenA token to cancel the request.
Returns
- Task<(Emote Value, MessageContext Context)>
A task that represents the API request.