Jaa


Channel.GetChannelId(ITurnContext) Method

Definition

Get the Channel Id from the current Activity on the Turn Context.

public static string GetChannelId (Microsoft.Bot.Builder.ITurnContext turnContext);
static member GetChannelId : Microsoft.Bot.Builder.ITurnContext -> string
Public Shared Function GetChannelId (turnContext As ITurnContext) As String

Parameters

turnContext
ITurnContext

The Turn Context to retrieve the Activity's Channel Id from.

Returns

The Channel Id from the Turn Context's Activity.

Applies to