![](https://private-user-images.githubusercontent.com/118578799/334620037-3852702e-1981-4670-b69c-39a1b35c4588.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM5ODQ0NTIsIm5iZiI6MTcyMzk4NDE1MiwicGF0aCI6Ii8xMTg1Nzg3OTkvMzM0NjIwMDM3LTM4NTI3MDJlLTE5ODEtNDY3MC1iNjljLTM5YTFiMzVjNDU4OC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODE4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgxOFQxMjI5MTJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1kM2YyZTBjMjljZjY4MDNiOGZkOWY4Mjg5OWM4MjI1YjhhNzA4Y2EwNTU5NGQwMDc3M2I4MTg1MWI4NjNiYTdmJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.Ft0BN0mD-AoWogpVBSZgCsXgaegbcEY22YJnWDrnIjI)
Simple Telegram bot to add inline keyboard to message, and send it to channel
#Telegram - #Telebot - #inlinePost - #Python-
Install requirements for running bot:
- Python
- Git
- Pip
- Virtualenv
-
Clone repository and run installer:
git clone https://github.com/kozyol/InlinePost && cd InlinePost && chmod +x installer.sh
This will clone repository, navigate to source's directory, and give execution permission to installer
-
Install required stuff using
./installer.sh
:Welcome to InlinePost installer 1) Make virtualenv 2) Install requirements 3) Install bot commands Choose an option:
Note: You need to choose 1st option and install virtualenv before installing requirements!
-
Edit configuration file:
{ "token": "xxxxxxxxxx:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", // Your bot token "channel": "@username" // Your channel's username }
Open
config.json
and add required stuff -
Run the bot and enjoy:
python main.py
Use proxychians to bypass filtering in some countries!
![](https://private-user-images.githubusercontent.com/118578799/334629541-a5e73caa-7787-4215-80ed-4ec02c107e10.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM5ODQ0NTIsIm5iZiI6MTcyMzk4NDE1MiwicGF0aCI6Ii8xMTg1Nzg3OTkvMzM0NjI5NTQxLWE1ZTczY2FhLTc3ODctNDIxNS04MGVkLTRlYzAyYzEwN2UxMC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODE4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgxOFQxMjI5MTJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT04NWJjNDI1ODU3MDE3NDEyYWYwZjUyNjEyYTA0Y2JmNzYwZDcwZmUzZDhlOGZiZDVlMmRkMDc3MGVlMTVlMzk2JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.rKgtcXXBw1mv2NHtcFbMzYFRKEvojeWncsO6VJUGp3c)
![](https://private-user-images.githubusercontent.com/118578799/334629889-f7cfb06e-7724-4fb1-b193-30957db670df.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI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