Table of Contents

Method GetUnlockedMailCarriers

Namespace
GuildWars2.Hero.Equipment.MailCarriers
Assembly
GW2SDK.dll

GetUnlockedMailCarriers(string?, CancellationToken)

Retrieves the IDs of mail carriers unlocked on the account associated with the access token. This endpoint is only accessible with a valid access token.

public Task<(HashSet<int> Value, MessageContext Context)> GetUnlockedMailCarriers(string? accessToken, CancellationToken cancellationToken = default)

Parameters

accessToken string

An API key or subtoken.

cancellationToken CancellationToken

A token to cancel the request.

Returns

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

A task that represents the API request.