Skip to content
  • Auto
  • Light
  • Dark
Download Beeper

Focus

Focus Beeper Desktop app
focus(ClientFocusParams**kwargs) -> FocusResponse
post/v1/focus

Focus Beeper Desktop and optionally navigate to a specific chat, message, or pre-fill draft text and attachment.

ParametersExpand Collapse
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.

ReturnsExpand Collapse
class FocusResponse:

Response indicating successful app focus action.

success: bool

Whether the app was successfully opened/focused.

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
}