📎 Bots can now send files and videos
Until now sendDocument and sendVideo in the Orbeo Bot API returned an error: only photos and audio were accepted. Fixed as of November 6:
• sendDocument — any file: PDFs, archives, spreadsheets;
• sendVideo — videos with a cover and duration;
• the file_id from the response can be sent again without re-uploading;
• getFile returns a link the bot can use to download files sent to it.
Same as Telegram: aiogram and Telegraf code works unchanged.
🔒 Protected chats. When forwarding is disabled in a chat, messages arrive with has_protected_content: true, and copyMessage won't copy them (or view-once photos).
💡 Telegraf: end the server address with a slash — apiRoot: 'https://orbeo.me/botapi/'. Without it, requests go to the wrong place.
Questions — DM @orbeo_help.
#orbeodev #botapi