Focus
Focus Beeper Desktop app
focus(ClientFocusParams**kwargs) -> FocusResponse
/v1/focus
Focus Beeper Desktop and optionally navigate to a specific chat, message, or pre-fill draft text and attachment.
Parameters
chat_id: Optional[str]
Optional Beeper chat ID (or local chat ID) to focus after opening the app. If omitted, only opens/focuses the app.
draft_attachment_path: Optional[str]
Optional draft attachment path to populate in the message input field.
draft_text: Optional[str]
Optional draft text to populate in the message input field.
message_id: Optional[str]
Optional message ID. Jumps to that message in the chat when opening.
Returns
Focus Beeper Desktop app
from beeper_desktop_api import BeeperDesktop
client = BeeperDesktop(
access_token="My Access Token",
)
response = client.focus()
print(response.success)
{
"success": true
}
Returns Examples
{
"success": true
}