Private
_typingPrivate
_typingPrivate
_mergePrivate
_registerPrivate
_stopGet Thread Metadata
GetMetadataFailedError
response otherwise throw an error response
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
LoadMoreMessagesFailedError
Promise MoreMessagesLoadedEvent | null
Send attachment
Raw function to send attachments
UploadAttachmentError
error.data
contains information about allowed file size and types.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
Send current Custom Fields
Send message
SendMessageFailedError
error.data
) a response from the backend with details.message data
Send Outbound Message
SendMessageFailedError
error.data
) a response from the backend with details.message data
Send postback message
postback
text of message
options
Send text message
text of message
options
Send conversation transcript to email
Generated using TypeDoc
Set thread as archived
Throws
ArchiveThreadFailedError