API Reference
REST API endpoints
cURL
curl --request POST \ --url http://localhost:8080/api/messages/pin \ --header 'Authorization: Bearer <token>'
{ "ok": true }
Pins a message in a chat. The bot must have pin permission.
API key with bmx_ prefix. Obtain via /api/auth/api-keys.
bmx_
/api/auth/api-keys
Message pinned
true
Was this page helpful?