Method GetCompletedGuildUpgrades
- Namespace
- GuildWars2.Guilds
- Assembly
- GW2SDK.dll
GetCompletedGuildUpgrades(string, string?, CancellationToken)
Retrieves the IDs of completed guild upgrades of a guild by its ID. This endpoint is only accessible with a valid access token and access is restricted to guild leaders.
public Task<(HashSet<int> Value, MessageContext Context)> GetCompletedGuildUpgrades(string guildId, string? accessToken, CancellationToken cancellationToken = default)
Parameters
guildId
stringThe guild ID.
accessToken
stringAn API key or subtoken.
cancellationToken
CancellationTokenA token to cancel the request.