TeamsBotInstallation(String, BotAdapter, ConversationReference) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.