Method GetBackgroundStoryQuestionsByIds
- Namespace
- GuildWars2.Hero.StoryJournal
- Assembly
- GuildWars2.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
questionIdsIEnumerable<int>the background story question IDs.
languageLanguageThe language to use for descriptions.
missingMemberBehaviorMissingMemberBehaviorThe desired behavior when JSON contains unexpected members.
cancellationTokenCancellationTokenA token to cancel the request.
Returns
- Task<(HashSet<BackgroundStoryQuestion> Value, MessageContext Context)>
A task that represents the API request.