MCPcopy Create free account
hub / github.com/botmasterai/botmaster / createOutgoingMessage

Method createOutgoingMessage

lib/base_bot.js:155–157  ·  view source on GitHub ↗

* createOutgoingMessage exposes the OutgoingMessage constructor * via BaseBot. This simply means one can create their own * OutgoingMessage object using any bot object. They can then compose * it with all its helper functions * * This is the static version of this method * * @pa

(message)

Source from the content-addressed store, hash-verified

153 * all the helper functions from OutgoingMessage
154 */
155 static createOutgoingMessage(message) {
156 return new OutgoingMessage(message);
157 }
158
159 /**
160 * createOutgoingMessage exposes the OutgoingMessage constructor

Callers 5

sendMessageToMethod · 0.95
sendTextMessageToMethod · 0.95
sendAttachmentToMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected