Share via


ConversationAccount Constructors

Definition

Overloads

ConversationAccount()

Initializes a new instance of the ConversationAccount class.

ConversationAccount(Nullable<Boolean>, String, String, String, String, String, String)

Initializes a new instance of the ConversationAccount class.

ConversationAccount()

Initializes a new instance of the ConversationAccount class.

public ConversationAccount ();
Public Sub New ()

Applies to

ConversationAccount(Nullable<Boolean>, String, String, String, String, String, String)

Initializes a new instance of the ConversationAccount class.

public ConversationAccount (bool? isGroup = default, string conversationType = default, string id = default, string name = default, string aadObjectId = default, string role = default, string tenantId = default);
new Microsoft.Bot.Schema.ConversationAccount : Nullable<bool> * string * string * string * string * string * string -> Microsoft.Bot.Schema.ConversationAccount
Public Sub New (Optional isGroup As Nullable(Of Boolean) = Nothing, Optional conversationType As String = Nothing, Optional id As String = Nothing, Optional name As String = Nothing, Optional aadObjectId As String = Nothing, Optional role As String = Nothing, Optional tenantId As String = Nothing)

Parameters

isGroup
Nullable<Boolean>

Indicates whether the conversation contains more than two participants at the time the activity was generated.

conversationType
String

Indicates the type of the conversation in channels that distinguish between conversation types.

id
String

Channel id for the user or bot on this channel (Example: joe@smith.com, or @joesmith or 123456).

name
String

Display friendly name.

aadObjectId
String

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

role
String

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

tenantId
String

This conversation's tenant ID.

Applies to