Message
This class represents a Message on Cisco Webex.
Since
0.1
Constructors
Types
Encapsulating the content will be post. A draft is created by Message.draft}
Functions
Time when message was created
Returns the attachment with the message
Returns all people mentioned in the message
Returns the parent if this message is a reply message.
Returns the name of the person who sent this message.
Returns the email address of the person who sent this message.
Returns the identifier of the person who sent this message.
Returns the identifier of the space where this message was posted.
Returns the conversation type such as group, or direct
Returns the text contained in the message. Returned text format would be html, markdown or plain text. To know the format of the text use getTextAsObject
Returns the content of the message as Text object. This method can be used to know the text and its format. Text would be one of html, markdown or plain text format. Depending on the message to get the text Text.getHtml or Text.getMarkdown or Text.getPlain needs to be used
Returns the email address of the recipient when sending a private 1:1 message.
Returns the identifier of the recipient when sending a private 1:1 message.
Returns true if the message mentioned everyone in space.
Returns true if the content of the message is decrypted
Returns true if the message is the recipient of the message is included in message's mention list