TeamsActivityExtensions.TeamsGetSelectedChannelId(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 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.