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