ConversationReference Class
An object relating to a particular point in a conversation.
Constructor
pydantic model ConversationReference
Parameters
| Name | Description |
|---|---|
|
activity_id
Required
|
(Optional) ID of the activity to refer to |
|
user
Required
|
(Optional) User participating in this conversation |
|
agent
Required
|
Agent participating in this conversation |
|
conversation
Required
|
Conversation reference |
|
channel_id
Required
|
Channel ID |
|
locale
Required
|
A locale name for the contents of the text field. The locale name is a combination of an ISO 639 two- or three-letter culture code associated with a language and an ISO 3166 two-letter subculture code associated with a country or region. The locale name can also correspond to a valid BCP-47 language tag. |
|
service_url
Required
|
Service endpoint where operations concerning the referenced conversation may be performed |
Keyword-Only Parameters
| Name | Description |
|---|---|
|
activityId
|
Default value: None
|
|
user
|
Default value: None
|
|
bot
|
Default value: None
|
|
conversation
Required
|
|
|
locale
|
Default value: None
|
|
serviceUrl
|
Default value: None
|
Methods
| get_continuation_activity |
get_continuation_activity
Attributes
activity_id
field activity_id: NonEmptyString | None = None (alias 'activityId')
agent
field agent: ChannelAccount = None (alias 'bot')
conversation
field conversation: ConversationAccount [Required]
locale
field locale: NonEmptyString | None = None
service_url
field service_url: NonEmptyString = None (alias 'serviceUrl')
user
field user: ChannelAccount | None = None