Table of Contents

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 string

The emote ID.

missingMemberBehavior MissingMemberBehavior

The desired behavior when JSON contains unexpected members.

cancellationToken CancellationToken

A token to cancel the request.

Returns

Task<(Emote Value, MessageContext Context)>

A task that represents the API request.