Jaa


TeamsActivityExtensions.TeamsGetChannelId(IActivity) Method

Definition

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

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

Parameters

activity
IActivity

The current activity.

Returns

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

Applies to