TeamsClient Class

Definition

Typed client for teams connector.

public class TeamsClient : Azure.Connectors.Sdk.ConnectorClientBase
type TeamsClient = class
    inherit ConnectorClientBase
Public Class TeamsClient
Inherits ConnectorClientBase
Inheritance

Constructors

Name Description
TeamsClient()
TeamsClient(String)

Creates a new TeamsClient with the specified connection runtime URL string. Uses ManagedIdentityCredential by default.

TeamsClient(Uri, TokenCredential, ConnectorClientOptions)

Creates a new TeamsClient with the specified connection runtime URL and credential.

TeamsClient(Uri, TokenCredential)

Creates a new TeamsClient with the specified connection runtime URL and credential.

TeamsClient(Uri)

Creates a new TeamsClient with the specified connection runtime URL. Uses ManagedIdentityCredential by default.

Properties

Name Description
ConnectorName
Pipeline

Gets the HTTP pipeline for making connector requests.

(Inherited from ConnectorClientBase)

Methods

Name Description
AddMemberToChannelAsync(String, String, AddMemberToChannelInput, CancellationToken)

Add a member to a channel

AddMemberToChatAsync(String, AddMemberToChatInput, CancellationToken)

Add a user to a chat

AddMemberToTagAsync(String, String, AddMemberToTagInput, CancellationToken)

Add a member to a team tag

AddMemberToTeamAsync(String, AddMemberToTeamInput, CancellationToken)

Add a member to a team

AddSectionItemAsync(String, AddSectionItemInput, CancellationToken)

Add an item to a section

AtMentionTagAsync(String, String, CancellationToken)

Get an @mention token for a team tag

AtMentionUserAsync(String, CancellationToken)

Get an @mention token for a user

CallConnectorAsync(HttpMethod, String, Object, CancellationToken)

Sends a connector API request with no response body. Uses the Azure.Core HttpPipeline for retry, authentication, and diagnostics.

(Inherited from ConnectorClientBase)
CallConnectorAsync<TResponse>(HttpMethod, String, Object, CancellationToken)

Sends a connector API request and deserializes the JSON response. Uses the Azure.Core HttpPipeline for retry, authentication, and diagnostics.

(Inherited from ConnectorClientBase)
CreateATeamAsync(CreateATeamInput, CancellationToken)

Create a team

CreateChannelAsync(String, CreateChannelInput, CancellationToken)

Create a channel

CreateChatAsync(NewChat, CancellationToken)

Create a chat

CreateSectionAsync(CreateSectionInput, CancellationToken)

Create a section

CreateTagAsync(String, CreateTagInput, CancellationToken)

Create a tag for a team

CreateTeamsMeetingAsync(String, NewMeeting, CancellationToken)

Create a Teams meeting

DeleteSectionAsync(String, CancellationToken)

Delete a section

DeleteTagAsync(String, String, CancellationToken)

Delete a team tag

DeleteTagMemberAsync(String, String, String, CancellationToken)

Delete a member from a team tag

Dispose() (Inherited from ConnectorClientBase)
Dispose(Boolean)

Disposes the connector client resources.

(Inherited from ConnectorClientBase)
GetAdaptiveCardInputMetadataAsync(String, CancellationToken)

Get adaptive card input metadata

GetAiInsightAsync(String, String, CancellationToken)

Get AI insight

GetAllAdhocCallRecordingsAsync(String, String, Nullable<Int32>, String, String, CancellationToken)

Get all ad-hoc call recordings

GetAllAdhocCallTranscriptsAsync(String, String, Nullable<Int32>, String, String, CancellationToken)

Get all ad-hoc call transcripts

GetAllAssociatedTeamsAsync(CancellationToken)

List associated teams

GetAllChannelsForTeamAsync(String, String, String, CancellationToken)

List all channels

GetAllTeamsAsync(CancellationToken)

List joined teams

GetCallRecordingAsync(String, String, CancellationToken)

Get call recording

GetCallRecordingContentAsync(String, String, CancellationToken)

Get call recording content

GetCallTranscriptAsync(String, String, CancellationToken)

Get call transcript

GetCallTranscriptContentAsync(String, String, CancellationToken)

Get call transcript content

GetCardResponseTriggerOutputsMetadataAsync(String, CancellationToken)

Get compose message hybrid trigger output metadata

GetChannelAsync(String, String, CancellationToken)

Get details for a specific channel in a team

GetChannelsForGroupAsync(String, String, String, CancellationToken)

List channels

GetChatsAsync(String, String, CancellationToken)

List chats

GetComposeMessageTriggerOutputsMetadataAsync(String, CancellationToken)

Get compose message hybrid trigger output metadata

GetFeedNotificationInputSchemaAsync(String, String, CancellationToken)

Get feed notification input metadata

GetFlowContinuationSubscriptionOutputMetadataAsync(String, String, CancellationToken)

Get flow continuation subscription output metadata

GetFlowContinuationSubscriptionWithPosterOutputMetadataAsync(String, String, String, CancellationToken)

Get flow continuation subscription output metadata

GetMeetingRecordingAsync(String, String, CancellationToken)

Get meeting recording

GetMeetingRecordingContentAsync(String, String, CancellationToken)

Get meeting recording content

GetMeetingTranscriptAsync(String, String, CancellationToken)

Get meeting transcript

GetMeetingTranscriptContentAsync(String, String, CancellationToken)

Get meeting transcript content

GetMessageDetailsAsync(String, String, DynamicGetMessageDetailsSchema, CancellationToken)

Get message details

GetMessageDetailsInputSchemaAsync(String, CancellationToken)

Get message details response schema

GetMessageDetailsResponseSchemaAsync(String, CancellationToken)

Get message details input metadata

GetMessageLocationsAsync(String, String, CancellationToken)

Conversation location for where to post

GetMessagesFromChannelAsync(String, String, CancellationToken)

Get messages in a channel

GetMessagesFromChatAsync(String, String, String, String, CancellationToken)

Get messages in a chat

GetMessageWithOptionsSubscriptionInputMetadataAsync(String, CancellationToken)

Get message with options subscription input metadata

GetMessageWithOptionsSubscriptionOutputMetadataAsync(String, CancellationToken)

Get message with options subscription output metadata

GetNotificationInputMetadataAsync(String, CancellationToken)

Get notification input metadata

GetOnlineMeetingAsync(String, String, CancellationToken)

Get an online meeting

GetPostToConversationResponseSchemaAsync(String, String, String, CancellationToken)

Get response schema

GetSectionAsync(String, CancellationToken)

Get a section

GetSelectedMessageTriggerOutputsMetadataAsync(String, CancellationToken)

Get selected message hybrid trigger output metadata

GetSubscriptionScopeSchemaAsync(String, CancellationToken)

Get subscription scope input schema

GetTagAsync(String, String, CancellationToken)

Get a team tag

GetTagMembersAsync(String, String, CancellationToken)

List the members of a team tag

GetTagsAsync(String, CancellationToken)

List all tags for a team

GetTeamAsync(String, CancellationToken)

Get a team

GetUnifiedActionSchemaAsync(String, String, String, CancellationToken)

Get unified action input metadata

GetWebhookTriggerRequestSchemaAsync(String, CancellationToken)

Input schema for webhook trigger

GetWebhookTriggerResponseSchemaAsync(String, String, CancellationToken)

Response schema for webhook trigger

HttpRequestAsync(Byte[], CancellationToken)

Send a Microsoft Graph HTTP request

ListAiInsightsAsync(String, CancellationToken)

List AI insights

ListCallRecordingsAsync(String, CancellationToken)

List call recordings

ListCallTranscriptsAsync(String, CancellationToken)

List call transcripts

ListMeetingRecordingsAsync(String, CancellationToken)

List meeting recordings

ListMeetingTranscriptsAsync(String, CancellationToken)

List meeting transcripts

ListMembersAsync(String, DynamicListMembersSchema, String, CancellationToken)

List chat or channel members

ListMembersInputSchemaAsync(String, CancellationToken)

List members input schema

ListRepliesToMessageAsync(String, String, String, Nullable<Int32>, CancellationToken)

List replies of a channel message

ListSectionItemsAsync(String, CancellationToken)

List section items

ListSectionsAsync(CancellationToken)

List sections

ListTeamMembersAsync(String, String, String, CancellationToken)

List team members

MoveSectionItemAsync(String, String, MoveSectionItemInput, CancellationToken)

Move a section item

PostCardAndWaitForResponseAsync(String, String, PostCardAndWaitForResponseInput, CancellationToken)

Post adaptive card and wait for a response

PostCardToConversationAsync(String, String, DynamicPostCardRequest, CancellationToken)

Post card in a chat or channel

PostFeedNotificationAsync(String, String, DynamicPostFeedNotificationRequest, CancellationToken)

Post a feed notification

PostMessageToConversationAsync(String, String, DynamicPostMessageRequest, CancellationToken)

Post message in a chat or channel

PostMessageToSelfAsync(PostMessageToSelfRequest, CancellationToken)

Post a message to myself

RemoveMemberFromChannelAsync(String, String, String, CancellationToken)

Remove a direct member from a channel

RemoveMemberFromTeamAsync(String, String, CancellationToken)

Remove a member from a team

RemoveSectionItemAsync(String, String, CancellationToken)

Remove an item from a section

ReplyWithCardToConversationAsync(String, String, DynamicReplyCardRequest, CancellationToken)

Reply with an adaptive card in a channel

ReplyWithMessageToConversationAsync(String, String, DynamicReplyMessageRequest, CancellationToken)

Reply with a message in a channel

ResolveUrl(String)

Resolves a relative path or validates an absolute URL against the connection runtime URL. When the NextLink host matches the connection URL, it's used as-is. When it doesn't match (codeless connectors like ARM return nextLink pointing to the backend host e.g. management.azure.com), the path+query is extracted and routed through the APIM proxy. This is safe because the request still goes through the connection runtime URL with API Hub auth.

(Inherited from ConnectorClientBase)
SubscribeUserMessageWithOptionsAsync(DynamicUserMessageWithOptionsSubscriptionRequest, CancellationToken)

Post a choice of options as the Flow bot to a user

UpdateCardInConversationAsync(String, String, DynamicUpdateCardRequest, CancellationToken)

Update an adaptive card in a chat or channel

UpdateSectionAsync(String, UpdateSectionInput, CancellationToken)

Update a section

UpdateTagAsync(String, String, UpdateTagInput, CancellationToken)

Update a team tag

Applies to