Item
¶
Source code in docs_src/capo_connectparticipant/types/item.py
absolute_time
instance-attribute
¶
absolute_time: NotRequired[Instant]
The time when the message or event was sent.
It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.
attachments
instance-attribute
¶
attachments: NotRequired[Attachments]
Provides information about the attachments.
contact_id
instance-attribute
¶
contact_id: NotRequired[ContactId]
The contactId on which the transcript item was originally sent. This field is populated only when the transcript item is from the current chat session.
content_type
instance-attribute
¶
content_type: NotRequired[ChatContentType]
The type of content of the item.
display_name
instance-attribute
¶
display_name: NotRequired[DisplayName]
The chat display name of the sender.
message_metadata
instance-attribute
¶
message_metadata: NotRequired[MessageMetadata]
The metadata related to the message. Currently this supports only information related to message receipts.
participant_id
instance-attribute
¶
participant_id: NotRequired[ParticipantId]
The ID of the sender in the session.
participant_role
instance-attribute
¶
participant_role: NotRequired[ParticipantRole]
The role of the sender. For example, is it a customer, agent, or system.
related_contact_id
instance-attribute
¶
related_contact_id: NotRequired[ContactId]
The contactId on which the transcript item was originally sent. This field is only populated for persistent chats when the transcript item is from the past chat session. For more information, see Enable persistent chat.