/Telegraph-Bot

Primary LanguagePythonMIT LicenseMIT

Telegraph-Bot

Simple Telegram bot to generate Telegraph links for your media files. This bot can work also in group chats.

made-with-python
Stars Forks Watchers
License Repository Size Contributors Issues

Demo Bot (Official Telegraph Bot)

🤖 🤖

Deployment Methods

Railway

Deploy on Railway

Heroku

Deploy

Koyeb

Deploy to Koyeb

Donate

Buy Me A Coffee

Config Vars

  1. API_ID : Telegram API_ID, get it from my.telegram.org/apps
  2. API_HASH : Telegram API_ID, get it from my.telegram.org/apps
  3. BOT_TOKEN : A Valid Telegram Bot Token, get it from @Botfather
  4. ADMIN : A Valid Admin id, get it from @Bot
  5. WEBHOOK : If you are deploying as web True or else False
  6. FORCE_SUB : Your force sub channel user name without [@]
  7. LOG_CHANNEL : Bot Log Sending Channel (just create a private channel and add bot to admin and take channel id to add this variable) ⚠️ id startswith -100 must
  8. DB_URL : Your Mongo DB URL Obtained From mongodb.com
  9. DB_NAME : Your Mongo DB Database Name default it will be Cluster0
  10. START_PIC : Your Bot start cmd Pic from @DxTelegraphBot

Credits

Warning

  • You are free to use this code in any of your projects, but you MUST include the following in your README.md (Copy & paste)
##Credits
- [Telegraph Bot By Ziyan] (https://github.com/DX-MODS)