Focus Beeper Desktop app
client.focus(FocusParams { chatID, draftAttachmentPath, draftText, messageID } body?, RequestOptionsoptions?): FocusResponse { success }
POST/v1/focus
Focus Beeper Desktop and optionally open a specific chat, jump to a message, or pre-fill text and an image.
Focus Beeper Desktop app
import BeeperDesktop from '@beeper/desktop-api';
const client = new BeeperDesktop({
accessToken: process.env['BEEPER_ACCESS_TOKEN'], // This is the default and can be omitted
});
const response = await client.focus();
console.log(response.success);{
"success": true
}Returns Examples
{
"success": true
}