Send
Send a message
client.messages.send(MessageSendParamsbody, RequestOptionsoptions?): MessageSendResponse
post/v0/send-message
Send a text message to a specific chat. Supports replying to existing messages. Returns the sent message ID.
Parameters
Returns
import BeeperDesktop from '@beeper/desktop-api';
const client = new BeeperDesktop({
accessToken: 'My Access Token',
});
const response = await client.messages.send({ chatID: '!NCdzlIaMjZUmvmvyHU:beeper.com' });
console.log(response);
{
"success": true,
"error": "error",
"messageID": "m1694783291234567"
}
Returns Examples
{
"success": true,
"error": "error",
"messageID": "m1694783291234567"
}