TeamsInfo Class

Definition

The TeamsInfo Test If Build Remote Successful provides utility methods for the events and interactions that occur within Microsoft Teams.

public static class TeamsInfo
type TeamsInfo = class
Public Class TeamsInfo
Inheritance
TeamsInfo

Methods

CancelOperationAsync(ITurnContext, String, CancellationToken)

Cancels a batch operation by its id.

GetMeetingInfoAsync(ITurnContext, String, CancellationToken)

Gets the information for the given meeting id.

GetMeetingParticipantAsync(ITurnContext, String, String, String, CancellationToken)

Gets the details for the given meeting participant. This only works in teams meeting scoped conversations.

GetMemberAsync(ITurnContext, String, CancellationToken)

Gets the account of a single conversation member. This works in one-on-one, group, and teams scoped conversations.

GetMembersAsync(ITurnContext, CancellationToken)
Obsolete.

Gets the conversation members of a one-on-one or group chat.

GetOperationStateAsync(ITurnContext, String, CancellationToken)

Gets the state of an operation.

GetPagedFailedEntriesAsync(ITurnContext, String, String, CancellationToken)

Gets the failed entries of a batch operation.

GetPagedMembersAsync(ITurnContext, Nullable<Int32>, String, CancellationToken)

Gets a paginated list of members of one-on-one, group, or team conversation.

GetPagedTeamMembersAsync(ITurnContext, String, String, Nullable<Int32>, CancellationToken)

Gets a paginated list of members of a team. This only works in teams scoped conversations.

GetTeamChannelsAsync(ITurnContext, String, CancellationToken)

Returns a list of channels in a Team. This only works in teams scoped conversations.

GetTeamDetailsAsync(ITurnContext, String, CancellationToken)

Gets the details for the given team id. This only works in teams scoped conversations.

GetTeamMemberAsync(ITurnContext, String, String, CancellationToken)

Gets the member of a teams scoped conversation.

GetTeamMembersAsync(ITurnContext, String, CancellationToken)
Obsolete.

Gets the list of TeamsChannelAccounts within a team. This only works in teams scoped conversations.

SendMeetingNotificationAsync(ITurnContext, MeetingNotificationBase, String, CancellationToken)

Sends a notification to meeting participants. This functionality is available only in teams meeting scoped conversations.

SendMessageToAllUsersInTeamAsync(ITurnContext, IActivity, String, String, CancellationToken)

Sends a message to all the users in a team.

SendMessageToAllUsersInTenantAsync(ITurnContext, IActivity, String, CancellationToken)

Sends a message to all the users in a tenant.

SendMessageToListOfChannelsAsync(ITurnContext, IActivity, List<TeamMember>, String, CancellationToken)

Sends a message to the provided list of Teams channels.

SendMessageToListOfUsersAsync(ITurnContext, IActivity, List<TeamMember>, String, CancellationToken)

Sends a message to the provided list of Teams members.

SendMessageToTeamsChannelAsync(ITurnContext, IActivity, String, MicrosoftAppCredentials, CancellationToken)

Creates a new thread in a team chat and sends an activity to that new thread. Use this method if you are using BotFrameworkAdapter and are handling credentials in your code.

SendMessageToTeamsChannelAsync(ITurnContext, IActivity, String, String, CancellationToken)

Creates a new thread in a team chat and sends an activity to that new thread. Use this method if you are using CloudAdapter where credentials are handled by the adapter.

Applies to