A.K.A t2p.
Tool to execute tasks through Telegram userbot.
- Install the Python package:
# via pip:
pip install .
# or via setup script:
python setup.py install
- Have a Telegram account. You can create it if you do not have, see the Telegram official website.
- Create a Telegram Application. This official post says how to create it.
- Once the Telegram Application is created, you must copy config.ini.sample to config.ini and edit it. The most important are the fields id (the api_id provided) and hash (the api_hash provided).
- Open a terminal and run:
t2p
# or type this for help
t2p --help
- Dumping messages from a chat.
- Send voice notes from audio file.
- Search nearby users and chats.
- Read text messages and apply simple filters.