TeamsAgentExtension 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.
AgentExtension for Microsoft Teams.
public class TeamsAgentExtension : Microsoft.Agents.Builder.AgentExtension
type TeamsAgentExtension = class
inherit AgentExtension
Public Class TeamsAgentExtension
Inherits AgentExtension
- Inheritance
Constructors
| Name | Description |
|---|---|
| TeamsAgentExtension(AgentApplication) |
Creates a new TeamsAgentExtension instance. |
Properties
| Name | Description |
|---|---|
| ChannelId | (Inherited from AgentExtension) |
| Channels |
Teams Channel features. |
| FileConsent |
Teams File Consent features. |
| Meetings |
Teams Meetings features. |
| MessageExtensions |
Teams Message Extensions features. |
| TaskModules |
Teams Task Modules features. |
| Teams |
Teams Team features. |
Methods
| Name | Description |
|---|---|
| AddRoute(AgentApplication, Route) | (Inherited from AgentExtension) |
| AddRoute(AgentApplication, RouteSelector, RouteHandler, Boolean, Boolean, UInt16, String[]) | (Inherited from AgentExtension) |
| AddRoute(AgentApplication, RouteSelector, RouteHandler, Boolean, UInt16, String[]) |
Obsolete.
(Inherited from AgentExtension)
|
| GetAppGraphClient(ITurnContext, String) |
Creates a new instance of the GraphServiceClient for accessing Microsoft Graph APIs using an app-only (application) token from the agent's configured token connection. |
| GetAppGraphClientForConnection(String, String) |
Creates a new instance of the GraphServiceClient for accessing Microsoft Graph APIs using an app-only (application) token from the named token connection. |
| GetGraphClient(ITurnContext, String, String) |
Creates a new instance of the GraphServiceClient for accessing Microsoft Graph APIs using the current turn context. |
| GetTeamsClient(ITurnContext) |
Gets the Teams API client for the specified turn context. |