Share via


TeamsInfo Class

Definition

The TeamsInfo 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

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.

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.

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