Constructor
constructor(data, bot)
Parameters
data: BaseChatMessageData
Data used to construct the message.
bot: Bot
The active Bot instance.
Properties
sentAt: Date
When the message was sent.
Methods
getConversation()
Fetch the Conversation instance this message belongs to. Returns null if the conversation could not be found.