Share via


TeamsBotInstallation.GetMembersAsync(CancellationToken) Method

Definition

Caution

Use GetPagedMembersAsync instead.

Get members from this bot installation.

[System.Obsolete("Use GetPagedMembersAsync instead.")]
public System.Threading.Tasks.Task<Microsoft.TeamsFx.Conversation.Member[]> GetMembersAsync (System.Threading.CancellationToken cancellationToken = default);
[<System.Obsolete("Use GetPagedMembersAsync instead.")>]
member this.GetMembersAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamsFx.Conversation.Member[]>
Public Function GetMembersAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Member())

Parameters

cancellationToken
CancellationToken

The cancellation token.

Returns

An array of members from where the bot is installed.

Attributes

Applies to