Share via


ConversationAccount Class

Conversation account represents the identity of the conversation within a channel.

Constructor

pydantic model ConversationAccount

Parameters

Name Description
is_group
Required

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

conversation_type
Required
str

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

id
Required
str

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

name
Required
str

Display friendly name

aad_object_id
Required
str

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

role
Required

Role of the entity behind the account

tenant_id
Required
str

This conversation's tenant ID

properties
Required

This conversation's properties

Keyword-Only Parameters

Name Description
isGroup
Default value: None
conversationType
Default value: None
id
Required
name
Default value: None
aadObjectId
Default value: None
role
Default value: None
tenantId
Default value: None
properties
Default value: None

Attributes

aad_object_id

field aad_object_id: str | None = None (alias 'aadObjectId')

conversation_type

field conversation_type: str | None = None (alias 'conversationType')

id

field id: str [Required]

is_group

field is_group: bool | None = None (alias 'isGroup')

name

field name: str | None = None

properties

field properties: object = None

role

field role: str | None = None

tenant_id

field tenant_id: str | None = None (alias 'tenantId')