TeamsActivityExtensions.TeamsGetSelectedChannelId(IActivity) Method

Definition

Gets the Team's selected channel id from the current activity.

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

Parameters

activity
IActivity

The current activity.

Returns

The current activity's team's selected channel, or empty string.

Applies to