Microsoft.TeamsFx.Conversation Namespace

Classes

ActivityCommandResponse

Represents a message activity for a command response.

CardActionBot

Represents a bot to handle Adaptive Card Action Execute invoke activities.

CardActionOptions

Options to initialize a CommandBot.

Channel

An INotificationTarget that represents a team channel.

CommandBot

Represents a command bot to handle commands received from Teams.

CommandMessage

Represents the command message received from Teams.

CommandOptions

Options to initialize a CommandBot.

CommandResponseMiddleware

Middleware to handle message activity from Teams.

ConversationBot

Provide utilities for bot conversation, including:

  • Send notification to varies targets (e.g., member, group, channel).
  • Handle command and send a response to Teams.
ConversationOptions

Represents the options used to initialize a ConversationBot.

ConversationReferenceStoreAddOptions

The options to add a conversation reference.

InvokeResponseFactory

Contains utility methods for various invoke response types for an adaptiveCard/action invoke response.

Member

An INotificationTarget that represents a team member.

MessageResponse

Defines a contract that represents a message response. E.g., returned by SendAdaptiveCard(Object, CancellationToken) or SendMessage(String, CancellationToken).

NotificationBot

Provide utilities to send notification to varies targets (e.g., member, group, channel).

NotificationOptions

Options to initialize NotificationBot.

PagedData<T>

Represents a page of data.

RegExpTrigger

Represents a command trigger that triggered by regular expression match.

StringTrigger

Represents a command trigger that triggered by string match.

TeamsBotInstallation

An INotificationTarget that represents a bot installation. Teams Bot could be installed into:

  • Personal chat.
  • Group chat.
  • Team (by default the "General" channel).
TextCommandResponse

Represents a simple text message for a command response.

Interfaces

IAdaptiveCardActionHandler

Represents an adaptive card action handler to respond to an adaptiveCard/action invoke activity.

ICommandResponse

Defines a contract that represents a command response.

IConversationReferenceStore

Interface for a store provider that manages notification target references.

INotificationTarget

Represent a notification target.

INotificationTargetStorage

Interface for a storage provider that stores and retrieves notification target references.

ITeamsCommandHandler

Defines a contract that represents a command handler that can handle commands received from Teams.

ITriggerPattern

Defines a contract that represents a trigger used to trigger command handler.

Enums

AdaptiveCardResponse

Options used to control how the response card will be sent to users.

InvokeResponseErrorCode

Status code for an application/vnd.microsoft.error invoke response.

NotificationTargetType

The target type where the notification will be sent to.

SearchScope

The search scope when calling FindMemberAsync(Func<Member,Task<Boolean>>, SearchScope, CancellationToken) and FindAllMembersAsync(Func<Member,Task<Boolean>>, SearchScope, CancellationToken). The search scope is a flagged enum and it can be combined with |. For example, to search from personal chat and group chat, use SearchScope.Person | SearchScope.Group.