Share via


TeamsChannelData Constructors

Definition

Overloads

TeamsChannelData()

Initializes a new instance of the TeamsChannelData class.

TeamsChannelData(ChannelInfo, String, TeamInfo, NotificationInfo, TenantInfo)

Initializes a new instance of the TeamsChannelData class.

TeamsChannelData(ChannelInfo, String, TeamInfo, NotificationInfo, TenantInfo, IList<OnBehalfOf>)

Initializes a new instance of the TeamsChannelData class.

TeamsChannelData()

Initializes a new instance of the TeamsChannelData class.

public TeamsChannelData ();
Public Sub New ()

Applies to

TeamsChannelData(ChannelInfo, String, TeamInfo, NotificationInfo, TenantInfo)

Initializes a new instance of the TeamsChannelData class.

public TeamsChannelData (Microsoft.Bot.Schema.Teams.ChannelInfo channel = default, string eventType = default, Microsoft.Bot.Schema.Teams.TeamInfo team = default, Microsoft.Bot.Schema.Teams.NotificationInfo notification = default, Microsoft.Bot.Schema.Teams.TenantInfo tenant = default);
new Microsoft.Bot.Schema.Teams.TeamsChannelData : Microsoft.Bot.Schema.Teams.ChannelInfo * string * Microsoft.Bot.Schema.Teams.TeamInfo * Microsoft.Bot.Schema.Teams.NotificationInfo * Microsoft.Bot.Schema.Teams.TenantInfo -> Microsoft.Bot.Schema.Teams.TeamsChannelData
Public Sub New (Optional channel As ChannelInfo = Nothing, Optional eventType As String = Nothing, Optional team As TeamInfo = Nothing, Optional notification As NotificationInfo = Nothing, Optional tenant As TenantInfo = Nothing)

Parameters

channel
ChannelInfo

Information about the channel in which the message was sent.

eventType
String

Type of event.

team
TeamInfo

Information about the team in which the message was sent.

notification
NotificationInfo

Notification settings for the message.

tenant
TenantInfo

Information about the tenant in which the message was sent.

Applies to

TeamsChannelData(ChannelInfo, String, TeamInfo, NotificationInfo, TenantInfo, IList<OnBehalfOf>)

Initializes a new instance of the TeamsChannelData class.

public TeamsChannelData (Microsoft.Bot.Schema.Teams.ChannelInfo channel = default, string eventType = default, Microsoft.Bot.Schema.Teams.TeamInfo team = default, Microsoft.Bot.Schema.Teams.NotificationInfo notification = default, Microsoft.Bot.Schema.Teams.TenantInfo tenant = default, System.Collections.Generic.IList<Microsoft.Bot.Schema.Teams.OnBehalfOf> onBehalfOf = default);
new Microsoft.Bot.Schema.Teams.TeamsChannelData : Microsoft.Bot.Schema.Teams.ChannelInfo * string * Microsoft.Bot.Schema.Teams.TeamInfo * Microsoft.Bot.Schema.Teams.NotificationInfo * Microsoft.Bot.Schema.Teams.TenantInfo * System.Collections.Generic.IList<Microsoft.Bot.Schema.Teams.OnBehalfOf> -> Microsoft.Bot.Schema.Teams.TeamsChannelData
Public Sub New (Optional channel As ChannelInfo = Nothing, Optional eventType As String = Nothing, Optional team As TeamInfo = Nothing, Optional notification As NotificationInfo = Nothing, Optional tenant As TenantInfo = Nothing, Optional onBehalfOf As IList(Of OnBehalfOf) = Nothing)

Parameters

channel
ChannelInfo

Information about the channel in which the message was sent.

eventType
String

Type of event.

team
TeamInfo

Information about the team in which the message was sent.

notification
NotificationInfo

Notification settings for the message.

tenant
TenantInfo

Information about the tenant in which the message was sent.

onBehalfOf
IList<OnBehalfOf>

The OnBehalfOf information of the message.

Applies to