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