TeamsActivityExtensions.TeamsGetTeamOnBehalfOf(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 Teams OnBehalfOf list from the current activity.
public static System.Collections.Generic.IList<Microsoft.Bot.Schema.Teams.OnBehalfOf> TeamsGetTeamOnBehalfOf (this Microsoft.Bot.Schema.IActivity activity);
static member TeamsGetTeamOnBehalfOf : Microsoft.Bot.Schema.IActivity -> System.Collections.Generic.IList<Microsoft.Bot.Schema.Teams.OnBehalfOf>
<Extension()>
Public Function TeamsGetTeamOnBehalfOf (activity As IActivity) As IList(Of OnBehalfOf)
Parameters
- activity
- IActivity
The current activity.
Returns
The current activity's OnBehalfOf list, or null.