Table of Contents

Method GetEmotesByIds

Namespace
GuildWars2.Hero.Emotes
Assembly
GW2SDK.dll

GetEmotesByIds(IEnumerable<string>, MissingMemberBehavior, CancellationToken)

Retrieves emotes by their IDs.

public Task<(HashSet<Emote> Value, MessageContext Context)> GetEmotesByIds(IEnumerable<string> emoteIds, MissingMemberBehavior missingMemberBehavior = MissingMemberBehavior.Error, CancellationToken cancellationToken = default)

Parameters

emoteIds IEnumerable<string>

The emote IDs.

missingMemberBehavior MissingMemberBehavior

The desired behavior when JSON contains unexpected members.

cancellationToken CancellationToken

A token to cancel the request.

Returns

Task<(HashSet<Emote> Value, MessageContext Context)>

A task that represents the API request.