Method GetBackgroundStoryQuestionsByIds
- Namespace
- GuildWars2.Hero.StoryJournal
- Assembly
- GW2SDK.dll
GetBackgroundStoryQuestionsByIds(IEnumerable<int>, Language?, MissingMemberBehavior, CancellationToken)
Retrieves background story questions by their IDs.
public Task<(HashSet<BackgroundStoryQuestion> Value, MessageContext Context)> GetBackgroundStoryQuestionsByIds(IEnumerable<int> questionIds, Language? language = null, MissingMemberBehavior missingMemberBehavior = MissingMemberBehavior.Error, CancellationToken cancellationToken = default)
Parameters
questionIds
IEnumerable<int>the background story question IDs.
language
LanguageThe language to use for descriptions.
missingMemberBehavior
MissingMemberBehaviorThe desired behavior when JSON contains unexpected members.
cancellationToken
CancellationTokenA token to cancel the request.
Returns
- Task<(HashSet<BackgroundStoryQuestion> Value, MessageContext Context)>
A task that represents the API request.