TeamsBotInstallation Class
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.
An INotificationTarget that represents a bot installation. Teams Bot could be installed into:
- Personal chat.
- Group chat.
- Team (by default the "General" channel).
public class TeamsBotInstallation : Microsoft.TeamsFx.Conversation.INotificationTarget
type TeamsBotInstallation = class
interface INotificationTarget
Public Class TeamsBotInstallation
Implements INotificationTarget
- Inheritance
-
TeamsBotInstallation
- Implements
Remarks
It's recommended to get bot installations from ConversationBot.Notification.GetInstallationsAsync
.
Constructors
TeamsBotInstallation(String, BotAdapter, ConversationReference) |
Constructor. |
Properties
Adapter |
The bot adapter. |
BotAppId |
The application ID of the bot. |
ConversationReference |
The ConversationReference of the bot installation. |
Type |
The notification target type. |
Methods
GetChannelsAsync(CancellationToken) |
Get channels from this bot installation. |
GetMembersAsync(CancellationToken) |
Obsolete.
Get members from this bot installation. |
GetPagedMembersAsync(Nullable<Int32>, String, CancellationToken) |
Get a pagined list of members from this bot installation. |
GetTeamDetailsAsync(CancellationToken) |
Get team details from this bot installation |
SendAdaptiveCard(Object, CancellationToken) |
Send an adaptive card message. |
SendMessage(String, CancellationToken) |
Send a plain text message. |