Intelebot integrates Telegram with Frappe, ERPNext, Custom frappe applications to yield more productivity via Telegram Bot API.
Navigate to your bench folder
cd frappe-bench
Install Intelebot App
bench get-app intelebot https://github.com/aerele/intelebot.git
bench --site [site-name] install-app intelebot
-
Create a new Telegram bot in
BotFather
-
Get Telegram Bot Token from
BotFather
In Intelebot,
-
Go to →
Telegram Bot
-> Enter Telegram Bot Username and Bot API Token. -
Once the new
Telegram Bot
document created. At every half an hour,telegram channel
,groups
,supergroups
, andprivate
chats associated with the corresponding bots are created automatically viaBot API
underTelegram Chat
. -
Create a new
Send Document
with the necessary fields and make sure the linked file will be public. At every half an hour the specified file gets sent to the corresponding chat. Otherwise, usesend_to_telegram
button to send the linked file. Currently, it supports gif, pdf, and zip files. -
In
Send Document
if you enableddelete_linked_file_after_sent
means, the linked file will be deleted in the system once it sent to the telegram chat.
- Frappe
- Python
- python-telegram-bot
MIT