Jaa


TeamsActivityExtensions.TeamsGetTeamOnBehalfOf(IActivity) Method

Definition

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.

Applies to