Share via


NotificationBot.ValidateInstallationAsync Method

Definition

Validate the installation by getting paged memebers.

public System.Threading.Tasks.Task<bool> ValidateInstallationAsync(Microsoft.Bot.Schema.ConversationReference reference, System.Threading.CancellationToken cancellationToken = default);
member this.ValidateInstallationAsync : Microsoft.Bot.Schema.ConversationReference * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Function ValidateInstallationAsync (reference As ConversationReference, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Boolean)

Parameters

reference
ConversationReference

The ConversationReference of the bot installation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Returns false if receives "BotNotInConversationRoster" error, otherwise returns true

Applies to