Message Client
MessageClient represents a client to the Webex Teams platform. It can send and receive messages. Use Webex.messages to get an instance of MessageClient.
Since
0.1
Types
Functions
Deletes message pertaining to the given message id
Downloads a file attachement asynchronously. See File Sharing for more details.
Downloads the thumbnail (preview image) of a file attachment asynchronously. Note Cisco Webex doesn't generate thumbnail for all files. See File Sharing for more details.
Edit a previous sent message asynchronously.
Retrieves a message asynchronously by message Id.
Mark messages sent before the specified message in the space as read, including the specified message. When messageId is null, the operation is immediately applied on the local message cache, the actual network request for the operation happens asynchronously in the background. (In case of any network failures, the conversation read status may not be updated.)
Posts a message to a space or a person asynchronously.
Posts a message with optional file attachments to a person asynchronously. The content of the message can be plain text, html, or markdown.
Posts a message with optional file attachments to a space asynchronously. The content of the message can be plain text, html, or markdown.
Sets a MessageObserver in this client.