Skip to content

SendChatIntegrationEventResponse

Source code in docs_src/capo_connect/types/send_chat_integration_event_response.py
class SendChatIntegrationEventResponse(TypedDict, closed=True):
    initial_contact_id: NotRequired["capo_connect.types.contact_id.ContactId"]
    """<p>Identifier of chat contact used to handle integration event. This may be null if the integration event is not valid without an already existing chat contact.</p>"""
    new_chat_created: NotRequired["capo_connect.types.new_chat_created.NewChatCreated"]
    """<p>Whether handling the integration event resulted in creating a new chat or acting on existing chat.</p>"""

initial_contact_id instance-attribute

initial_contact_id: NotRequired[ContactId]

Identifier of chat contact used to handle integration event. This may be null if the integration event is not valid without an already existing chat contact.

new_chat_created instance-attribute

new_chat_created: NotRequired[NewChatCreated]

Whether handling the integration event resulted in creating a new chat or acting on existing chat.