@StarkTelegraphBot
TelegraphA star
⭐ from you means a lot to us !
Telegram bot to upload media to telegra.ph
Usage
Deploy to Heroku
- Tap on above button and fill
API_ID
,API_HASH
,BOT_TOKEN
. - Then tap "Deploy App" below it. Wait till deploying is complete (will take atmost 2 minutes).
- After deploying is complete, tap on "Manage App"
- Check the logs to see if your bot is ready!
Local Deploying
-
Clone the repo
git clone https://github.com/StarkBotsIndustries/TelegraphBot
-
Edit
Config.py
and fill the needed variables -
Enter the directory
cd TelegraphBot
-
Run the file
python3 main.py
Environment Variables
Mandatory Vars
API_ID
- Get this from my.telegram.orgAPI_HASH
- Get this from my.telegram.orgBOT_TOKEN
- Get this from @BotFatherOWNER_ID
- Your Telegram IDDATABASE_URL
- Will be automatically added by Heroku.
Optional Vars
Don't forget to add your bot in the chat you fill in MUST_JOIN.
MUST_JOIN
- Username/ID of your telegram channel/group.
Owner Special Command
/stats
- Get Total Users and Chats using your bot.
Functions
More features soon, this is a minimal example :)
Upload one of the below supported media type to Telegra.ph
- Image
- Video
- Sticker
- Gifs or Animation
- Videos
- Video Note
- Document (Video/Photo/Gif)
To-Do
That's on you mainly...
Stats
License
Contributing
Contributions are heartily accepted.
Credits
Support
Channel :- @StarkBots
Group Chat :- @StarkBotsChat