Skip to content

s3pt1l3/tg_answering_machine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

tg_answering_machine

Telegram answering machine made via Python.

Setup

Python 3.9.0+ is recommended.

First step

Install all required libriaries.

pip install -r requirements.txt

Second step

Get your own Telegram api data. Go to https://my.telegram.org/apps and create an app. You need api_id and api_hash. api_id and api_hash

Third step

Setup config.json file

{
    "message": "<Your message for reply>",
    "keys": ["The key by which the message to be answered is determined", "key2", "key3", "key_n"],
    "login": {
        "api_id": "<your_api_id>",
        "api_hash": "<your_api_hash>"
    }
}

Runnig

python main.py