Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kourva/inlinepost

Simple Telegram bot to add inline keyboard to message, and send it to channel!!
https://github.com/kourva/inlinepost

bash pytelegrambotapi python3 telegram-bot virtualenv

Last synced: 9 days ago
JSON representation

Simple Telegram bot to add inline keyboard to message, and send it to channel!!

Awesome Lists containing this project

README

        



(( InlinePost ))


Simple Telegram bot to add inline keyboard to message, and send it to channel


#Telegram - #Telebot - #inlinePost - #Python




# Installation
1. **Install requirements for running bot**:
1. Python
2. Git
3. Pip
4. Virtualenv

2. **Clone repository and run installer**:
```bash
git clone https://github.com/Kourva/InlinePost && cd InlinePost && chmod +x installer.sh
```
> This will clone repository, navigate to source's directory, and give execution permission to installer

3. **Install required stuff using `./installer.sh`**:
```bash
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!

4. **Edit configuration file**:
```json
{
"token": "xxxxxxxxxx:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", // Your bot token
"channel": "@username" // Your channel's username
}
```
> Open `config.json` and add required stuff

6. **Run the bot and enjoy**:
```bash
python main.py
```
> Use proxychians to bypass filtering in some countries!


# Previews