Orbeo DevОткрыть в Orbeo

⚡ Bot API: your first requests

Server address: https://orbeo.me/botapi. Same protocol as the Telegram Bot API — same methods, same fields, same errors.

T=123:your_token
curl https://orbeo.me/botapi/bot$T/getMe

curl -X POST https://orbeo.me/botapi/bot$T/sendMessage \
  -H 'Content-Type: application/json' \
  -d '{"chat_id":"@mychannel","text":"Hello from the API!"}'

• Every response is {"ok": true, "result": …} or {"ok": false, "description": …}.
• chat_id: in a DM use chat.id from the update; in groups and channels — "@handle".
• Incoming messages: getUpdates (long polling up to 50 s) or setWebhook (https only).

Below: an echo bot in plain Python — zero dependencies, one command to run.

#guide #api

orbeo.me · мессенджер без номера телефона