A bot for posting to your Telegram channel with inline buttons.
https://t.me/channel_inline_post_bot
- Create posts with inline buttons
- Easy-to-use inline interface
- Supports all message formats, links and media
- Privacy-friendly
- Python 3.11+
- Poetry for dependency management
- A Telegram Bot API token
Clone the repository:
git clone https://github.com/WatchDogsDev/inline-post-telegram-bot.git
cd inline-post-telegram-botInstall dependencies using Poetry:
poetry install- Copy the
.env.templatefile to.env:
cp .env.template .env- Fill in the required environment variables in
.env:INLINE_POST_BOT_TOKEN: Your Telegram Bot API token from BotFather
Activate the virtual environment:
poetry shellRun the bot:
python src/main.pyBuild and run the Docker container:
-
Ensure Docker and Docker Compose are installed
-
Configure your
.envfile from.env.template
# Build the image
docker build -t inline-post-bot .
# Or use Docker Compose
docker-compose up --build- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'feat: Add amazing-feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
- Ensure all environment variables are correctly set
- Check Poetry and Python versions compatibility
- Verify Telegram Bot API token is correct
This project is licensed under the MIT License. See LICENSE for details.
- Project Link: https://github.com/WatchDogsDev/inline-post-telegram-bot
- Telegram: @channel_inline_post_bot