Focus Beeper Desktop app
$client->focus(?string chatID, ?string draftAttachmentPath, ?string draftText, ?string messageID): BeeperDesktopClientServiceFocusResponse
POST/v1/focus
Focus Beeper Desktop and optionally navigate to a specific chat, message, or pre-fill draft text and attachment.
Parameters
chatID?:optional string
Optional Beeper chat ID (or local chat ID) to focus after opening the app. If omitted, only opens/focuses the app.
draftAttachmentPath?:optional string
Optional draft attachment path to populate in the message input field.
draftText?:optional string
Optional draft text to populate in the message input field.
messageID?:optional string
Optional message ID. Jumps to that message in the chat when opening.
Returns
Focus Beeper Desktop app
<?php
require_once dirname(__DIR__) . '/vendor/autoload.php';
$client = new Client();
$response = $client->focus(
chatID: '!NCdzlIaMjZUmvmvyHU:beeper.com',
draftAttachmentPath: 'draftAttachmentPath',
draftText: 'draftText',
messageID: 'messageID',
);
var_dump($response);{
"success": true
}Returns Examples
{
"success": true
}