TeamsActivityExtensions.TeamsGetTeamInfo(IActivity) Method
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.
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.