Skip to content
/ t2p Public

Tool to execute tasks through Telegram userbot.

License

Notifications You must be signed in to change notification settings

David256/t2p

Repository files navigation

Telegram Tasks Processor

A.K.A t2p.

Tool to execute tasks through Telegram userbot.

Quickstart

  1. Install the Python package:
# via pip:
pip install .

# or via setup script:
python setup.py install
  1. Have a Telegram account. You can create it if you do not have, see the Telegram official website.
  2. Create a Telegram Application. This official post says how to create it.
  3. 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).
  4. Open a terminal and run:
t2p
# or type this for help
t2p --help

Available tasks

  • Dumping messages from a chat.
  • Send voice notes from audio file.
  • Search nearby users and chats.
  • Read text messages and apply simple filters.