Chat2Desk
Properties
Functions
Fetch all messages from Chat2Desk service. If you want to receive new message we recommend to use IChat2Desk.fetchNewMessages After fetching process the property IChat2Desk.messages will be updated.
Fetch new messages. This method receive new messages from server if their exists After fetching process the property IChat2Desk.messages will be updated.
Remove all library data like IChat2Desk.messages, IChat2Desk.clientPhone. It will also stop the current connection to the service. After reset, you need to call IChat2Desk.start to start using the library.
Full-text search messages by text.
Resend message if it have status DeliveryStatus.NOT_DELIVERED.
Search messages by query
Send client params. You can send name and phone by default. If you want to send other client field, which declared in Chat2Desk service, you need to use CustomField.id property from IChat2Desk.customFields as key and your value
Send the simple message with text.
Send the message with attachment.
Wrapper for connection status
Wrapper for custom fields list
Wrapper for errors
Wrapper for message list
Wrapper for operator