TeamsActivityExtensions.TeamsGetChannelId(IActivity) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.