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
|
Indicates the type of the conversation in channels that distinguish between conversation types |
|
id
Required
|
Channel id for the user or agent on this channel (Example:
|
|
name
Required
|
Display friendly name |
|
aad_object_id
Required
|
This account's object ID within Azure Active Directory (AAD) |
|
role
Required
|
Role of the entity behind the account |
|
tenant_id
Required
|
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')