Orbeo DevОткрыть в Orbeo

📚 Telegram bot libraries work on Orbeo

Change only the server address — the rest of your code stays the same.

aiogram 3

session = AiohttpSession(api=TelegramAPIServer.from_base("https://orbeo.me/botapi"))
bot = Bot(TOKEN, session=session)

python-telegram-bot

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

Telegraf — keep the trailing slash, otherwise Telegraf drops /botapi:

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

node-telegram-bot-api

new TelegramBot(TOKEN, { polling: true, baseApiUrl: 'https://orbeo.me/botapi' })

Supported: text and photos, inline and reply keyboards, commands, editing and deleting, polls, inline mode “@bot query”, groups and channels.

Limits: 30 messages/s per bot, 1/s per DM, 20/min per group — beyond that you get 429 with retry_after.

Below: two ready bots, on aiogram and on Telegraf.

#guide #aiogram #telegraf

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