Focus
Focus Beeper Desktop app
client.Focus(ctx, body) (*FocusResponse, error)
/v1/focus
Focus Beeper Desktop and optionally navigate to a specific chat, message, or pre-fill draft text and attachment.
Parameters
Returns
Focus Beeper Desktop app
package main
import (
"context"
"fmt"
"github.com/beeper/desktop-api-go"
"github.com/beeper/desktop-api-go/option"
)
func main() {
client := beeperdesktopapi.NewClient(
option.WithAccessToken("My Access Token"),
)
response, err := client.Focus(context.TODO(), beeperdesktopapi.FocusParams{
})
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", response.Success)
}
{
"success": true
}
Returns Examples
{
"success": true
}