Share via


TeamsActivityExtensions.TeamsGetSelectedChannelId(IActivity) Method

Definition

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

public static string TeamsGetSelectedChannelId(this Microsoft.Agents.Core.Models.IActivity activity);
static member TeamsGetSelectedChannelId : Microsoft.Agents.Core.Models.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