curl --request POST \
--url http://localhost:8080/api/admins/promote \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"bot_id": 1,
"chat_id": -100123456789,
"user_id": 987654321,
"perms": {
"can_delete_messages": true,
"can_pin_messages": true,
"can_invite_users": true
}
}
'