tg/README.md

40 lines
766 B
Markdown
Raw Normal View History

2013-10-24 14:25:37 -04:00
## Telegram messenger CLI
Command-line interface for [Telegram](http://telegram.org). Uses readline interface.
### API, Protocol documentation
Documentation for Telegram API is available here: http://core.telegram.org/api
2013-10-25 02:02:29 -04:00
2013-10-24 14:25:37 -04:00
Documentation for MTproto protocol is available here: http://core.telegram.org/mtproto
### Installation
Just run `make`
2013-10-25 02:02:29 -04:00
#### Requirements
Currently only Linux OS is supported. But if you manage to launch it on OS X or other UNIX, please let me know.
2013-10-24 14:25:37 -04:00
### Usage
./telegram -k <public-server-key>
By default public key is stored in the same folder named tg.pub:
./telegram -k tg.pub
#### Supported commands:
* chat_info
* contact_list
* dialog_list
* help
* history
* msg
* send_photo
* send_text
* send_video
* stats
2013-10-24 12:01:40 -04:00