Share via


ChannelAccount Constructors

Definition

Overloads

ChannelAccount()

Initializes a new instance of the ChannelAccount class.

ChannelAccount(String, String, String, String)

Initializes a new instance of the ChannelAccount class.

ChannelAccount()

Initializes a new instance of the ChannelAccount class.

public ChannelAccount ();
Public Sub New ()

Applies to

ChannelAccount(String, String, String, String)

Initializes a new instance of the ChannelAccount class.

public ChannelAccount (string id = default, string name = default, string role = default, string aadObjectId = default);
new Microsoft.Bot.Schema.ChannelAccount : string * string * string * string -> Microsoft.Bot.Schema.ChannelAccount
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional role As String = Nothing, Optional aadObjectId As String = Nothing)

Parameters

id
String

Channel id for the user or bot on this channel (Example: [email protected], or @joesmith or 123456).

name
String

Display friendly name.

role
String

Role of the entity behind the account (Example:User, Bot, etc.). Possible values include: 'user', 'bot'.

aadObjectId
String

This account's object ID within Azure Active Directory (AAD).

Applies to