https://github.com/FayasNoushad/Channel-Auto-Post-Bot
A channel auto post telegram bot.
https://github.com/FayasNoushad/Channel-Auto-Post-Bot
auto-post channel pyrogram telegram-bot
Last synced: 3 months ago
JSON representation
A channel auto post telegram bot.
- Host: GitHub
- URL: https://github.com/FayasNoushad/Channel-Auto-Post-Bot
- Owner: fayasnoushad
- License: mit
- Created: 2021-06-05T06:11:56.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-04-06T18:18:08.000Z (over 1 year ago)
- Last Synced: 2025-07-20T12:24:51.949Z (3 months ago)
- Topics: auto-post, channel, pyrogram, telegram-bot
- Language: Python
- Homepage:
- Size: 55.7 KB
- Stars: 76
- Watchers: 3
- Forks: 70
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Channel-Auto-Post-Bot
A channel auto post telegram bot.---
## Deploy
```sh
git clone https://github.com/FayasNoushad/Channel-Auto-Post-Bot.git
cd Channel-Auto-Post-Bot
python3 -m venv venv
. ./venv/bin/activate
pip3 install -r requirements.txt
#
python3 main.py
```---
## Variables
### Required
- `API_HASH` Your API Hash from my.telegram.org
- `API_ID` Your API ID from my.telegram.org
- `BOT_TOKEN` Your bot token from @BotFather### Non Required
- `FROM_CHANNELS` From channel ids for auto post
- `TO_CHATS` To channel or group or chat ids for auto post> Note:- Add '-100' before channel IDs and add '-' before group IDs
- `AS_FORWARD` (bool and optional) For forward or copy
- `REPLY_MARKUP` (bool and optional) For copy reply markup
- `FILTER_TEXT` (bool and optional) For text filter
- `FILTER_AUDIO` (bool and optional) For audio filter
- `FILTER_DOCUMENT` (bool and optional) For document filter
- `FILTER_PHOTO` (bool and optional) For photo filter
- `FILTER_STICKER` (bool and optional) For sticker filter
- `FILTER_VIDEO` (bool and optional) For video filter
- `FILTER_ANIMATION` (bool and optional) For animation filter
- `FILTER_VOICE` (bool and optional) For voice filter
- `FILTER_VIDEO_NOTE` (bool and optional) For video note filter
- `FILTER_CONTACT` (bool and optional) For contact filter
- `FILTER_VENUE` (bool and optional) For venue filter
- `FILTER_LOCATION` (bool and optional) For location filter
- `FILTER_POLL` (bool and optional) For poll filter
- `FILTER_GAME` (bool and optional) For game filter> Note:- Don't add value for false
---
## Credits
- [Contributors](https://github.com/FayasNoushad/Channel-Auto-Post-Bot/graphs/contributors)
- [Pyrogram](https://github.com/pyrogram/pyrogram)---