A telegram client for the CLI based on PHP.
- PHP 7.1+
- The application is tested on Linux (Ubuntu 19.04) and Mac OS (High Sierra)
- It should also run on Windows - but it was not tested yet
1: Clone GitHub Repository
git clone https://github.com/arminwinkt/telegram-cli-chat && cd telegram-cli-chat
2: Run composer install
$ composer install
3: Add telegram API credentials
$ cp config/telegram.php.dist config/telegram.php
- Create
api_id
andapi_hash
here: https://my.telegram.org
You can read more about it here: https://core.telegram.org/api/obtaining_api_id - Add the
api_id
andapi_hash
to file/config/telegram.php
4: Run the chat
$ php telegram-cli-chat
This project is released under the permissive MIT license.