Simple Telegram bot to generate Telegraph links for your media files. This bot can work also in group chats.
API_ID
: Telegram API_ID, get it from my.telegram.org/appsAPI_HASH
: Telegram API_ID, get it from my.telegram.org/appsBOT_TOKEN
: A Valid Telegram Bot Token, get it from @BotfatherADMIN
: A Valid Admin id, get it from @BotWEBHOOK
: If you are deploying as web True or else FalseFORCE_SUB
: Your force sub channel user name without [@]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 mustDB_URL
: Your Mongo DB URL Obtained From mongodb.comDB_NAME
: Your Mongo DB Database Name default it will be Cluster0START_PIC
: Your Bot start cmd Pic from @DxTelegraphBot
- 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)