Share via


TeamsBotInstallation(String, BotAdapter, ConversationReference) Constructor

Definition

Constructor.

public TeamsBotInstallation (string botAppId, Microsoft.Bot.Builder.BotAdapter adapter, Microsoft.Bot.Schema.ConversationReference conversationReference);
new Microsoft.TeamsFx.Conversation.TeamsBotInstallation : string * Microsoft.Bot.Builder.BotAdapter * Microsoft.Bot.Schema.ConversationReference -> Microsoft.TeamsFx.Conversation.TeamsBotInstallation
Public Sub New (botAppId As String, adapter As BotAdapter, conversationReference As ConversationReference)

Parameters

botAppId
String

The application ID of the bot.

adapter
BotAdapter

The bot adapter.

conversationReference
ConversationReference

The ConversationReference of the bot installation.

Exceptions

Throws if provided parameter is null.

Remarks

It's recommended to get bot installations from ConversationBot.Notification.GetInstallationsAsync.

Applies to