Private
_registerGet Thread Metadata
response otherwise throw an error response
GetMetadataFailedError
Send start and stop typing events. It sends stop typing event after the timeout. Repeated calls resets this timeout.
The timeout in milliseconds.
Optional
onSendCallback: (() => void)Callback to be called after the stop typing event is sent.
Mark all messages in the thread as seen
Load previous messages
Promise MoreMessagesLoadedEvent | null
LoadMoreMessagesFailedError
Recover existing live chat
AbortablePromise ThreadRecoveredData
ThreadRecoverFailedError
Send attachment
Raw function to send attachments
An object of this type is returned by the files' property of the HTML element; this lets you access the list of files selected with the element.
options
UploadAttachmentError
error.data
contains information about allowed file size and types.Send current Custom Fields
Send message
message data
SendMessageFailedError
error.data
) a response from the backend with details.Send Outbound Message
message data
SendMessageFailedError
error.data
) a response from the backend with details.Send postback message
postback
text of message
options
Send text message
text of message
options
Send conversation transcript to email
Start livechat
initial message text
Generated using TypeDoc
Set thread as archived