Jaa


TeamsActivityExtensions.TeamsGetTeamInfo(IActivity) Method

Definition

Gets the TeamsInfo object from the current activity.

public static Microsoft.Bot.Schema.Teams.TeamInfo TeamsGetTeamInfo (this Microsoft.Bot.Schema.IActivity activity);
static member TeamsGetTeamInfo : Microsoft.Bot.Schema.IActivity -> Microsoft.Bot.Schema.Teams.TeamInfo
<Extension()>
Public Function TeamsGetTeamInfo (activity As IActivity) As TeamInfo

Parameters

activity
IActivity

This activity.

Returns

The current activity's team's Id, or an empty string.

Applies to