共用方式為


TeamsActivityExtensions.TeamsGetTeamInfo(IActivity) 方法

定義

從目前活動取得 TeamsInfo 物件。

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

參數

activity
IActivity

此活動。

傳回

目前活動的小組識別碼或空字串。

適用於