Table of Contents

Method GetGuildsByName

Namespace
GuildWars2.Guilds
Assembly
GW2SDK.dll

GetGuildsByName(string, CancellationToken)

Retrieves a list of guild IDs that match the given name.

public Task<(HashSet<string> Value, MessageContext Context)> GetGuildsByName(string name, CancellationToken cancellationToken = default)

Parameters

name string

The name to search for.

cancellationToken CancellationToken

A token to cancel the request.

Returns

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

A task that represents the API request.