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

Function createBaseOutgoingMessage

tests/outgoing_message.js:8–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6import OutgoingMessage from '../lib/outgoing_message';
7
8const createBaseOutgoingMessage = () => {
9 const outgoingMessage = {
10 recipient: {
11 id: 'user_id',
12 },
13 };
14
15 return new OutgoingMessage(outgoingMessage);
16};
17
18test('Instantiating an OutgoingMessage object via a bot\'s createOutgoingMessage works', (t) => {
19 t.plan(1);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected