TeamsActivityExtensions.TeamsGetSelectedChannelId(IActivity) 方法

定义

从当前活动获取团队的所选频道 ID。

public static string TeamsGetSelectedChannelId (this Microsoft.Bot.Schema.IActivity activity);
static member TeamsGetSelectedChannelId : Microsoft.Bot.Schema.IActivity -> string
<Extension()>
Public Function TeamsGetSelectedChannelId (activity As IActivity) As String

参数

activity
IActivity

当前活动。

返回

当前活动团队的所选频道或空字符串。

适用于