Orbeo

Bot API · Guides

Moving a bot from Telegram to Orbeo

Orbeo speaks the Telegram Bot API. Methods, update objects, error format and libraries are the same — you change the server address and the token.

What changes

TelegramOrbeo
Serverapi.telegram.orgorbeo.me/botapi
Token@BotFatherSettings → My bots
Filesapi.telegram.org/file/bot…orbeo.me/botapi/file/bot…

In your library

aiogram 3: AiohttpSession(api=TelegramAPIServer.from_base("https://orbeo.me/botapi")). python-telegram-bot:

app = (Application.builder().token(TOKEN)
       .base_url("https://orbeo.me/botapi/bot")
       .base_file_url("https://orbeo.me/botapi/file/bot").build())

Telegraf:

new Telegraf(TOKEN, { telegram: { apiRoot: 'https://orbeo.me/botapi/' } });

One bot, both messengers

Create a second token in Orbeo and start both from one aiogram Dispatcher — handlers are shared:

TELEGRAM = TelegramAPIServer.from_base("https://api.telegram.org")
ORBEO = TelegramAPIServer.from_base("https://orbeo.me/botapi")

tg_bot = Bot(TG_TOKEN, session=AiohttpSession(api=TELEGRAM))
orbeo_bot = Bot(ORBEO_TOKEN, session=AiohttpSession(api=ORBEO))

# one Dispatcher, both bots
await dp.start_polling(tg_bot, orbeo_bot)

What works differently

Not available yet

editMessageMedia, live location, stopPoll, getUserProfilePhotos, ban/restrict/promoteChatMember, setMessageReaction. If your bot calls them, catch the error and skip — the rest keeps working.

Checklist

  1. New token in Orbeo.
  2. Server address in the library.
  3. Channel posting: add the bot as a channel administrator.
  4. Webhook: set it again with the Orbeo token — https only.
  5. Stay within limits: 30 messages/s per bot, 1/s per direct chat, 20/min per group.

Full list of methods — Bot API reference. Starting from zero — a bot in Python.