Method GetEmoteById
- Namespace
- GuildWars2.Hero.Emotes
- Assembly
- GuildWars2.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
emoteIdstringThe emote ID.
missingMemberBehaviorMissingMemberBehaviorThe desired behavior when JSON contains unexpected members.
cancellationTokenCancellationTokenA token to cancel the request.
Returns
- Task<(Emote Value, MessageContext Context)>
A task that represents the API request.