Freigeben über


ConversationAccount Class

Definition

Conversation accounts represent the identity of conversations within a channel. In channels that support only a single conversation between two accounts (e.g. SMS), the conversation account is persistent and does not have a predetermined start or end. In channels that support multiple parallel conversations (e.g. email), each conversation will likely have a unique ID.

public class ConversationAccount
type ConversationAccount = class
Public Class ConversationAccount
Inheritance
ConversationAccount

Constructors

ConversationAccount()

Initializes a new instance of ConversationAccount.

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

Initializes a new instance of the ConversationAccount class.

Properties

AadObjectId

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

ConversationType

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

Id

Channel id for the user or Agent on this channel. The format of this ID is defined by the channel and is used as an opaque string throughout the protocol. (Example: joe@smith.com, or @joesmith or 123456).

IsGroup

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

Name

Display friendly name.

Properties

Gets properties that are not otherwise defined by the Activity type but that might appear in the serialized REST JSON object.

Role

Role of the entity behind the account (Example: User, Agent, etc.). See RoleTypes.

TenantId

This conversation's tenant ID.

Applies to