You can create a Telegram bot with this project. This will allow you to create posts that can be sent to a group in a loop or at a given time.
- Python-telegram-bot
To run this project, you will need to add the following environment variables to config.toml
you will get a bot token when you make a bot with https://t.me://botfather
This is your id not the username to get it use https://t.me://getmy_idbot
###Notes
- buy paid if you want to remove my name in code.
- don't remove my name and sell the code.
To deploy this project run
- pip install -r requirement.txt - python postbot.py
For any help join the telegram group
- /start - the bot and displays buttons for making and editing posts.
- /send - after making a post you will get a post number. Use /send post_number interval_time [time in seconds] . it will resend post in loop of interval_time
- /sendch - /sendch postid time_in_seconds channel_id [channel id look like this -10057568876 or 575568876] add bot to channel for this
- /time - use this to send post once after a wait time. /time post_number time . example: /time 87 65 this will send post after 1 hour 5 minutes
- /stop - stop a running post /stop post_number
- /rk - remove buttons if you used the /start command in group
- /cancel - use this if you want to stop making posts in the middle
/send command is meant to be used in group don't send it to bot
You will get it after you make a post in the bot. It is a special tag for that particular post.
You can set a time at which bot will repost example : /send 76 60 this will send post id 76 after 60 seconds again and again till You use /stop 76
use /time example /time postid 60 this will send post after one hour
Buy a personal bot contact me
Buy a personal bot it will work in channel also