Class: Message

WTAPI.Message()

new Message()

Represents a chat message. Use WTAPI.Message.Builder to create a new message.
Source:

Classes

Builder

Methods

getBody() → {string}

Returns body of the message.
Source:
Returns:
Type
string

getId() → {string}

Returns id of the message, or empty string if id has not been set.
Source:
Returns:
Type
string