Added chat_with_peer in commands. Also explained what peer is.

This commit is contained in:
Akshay S Dinesh 2014-01-30 11:09:16 +05:30
parent e12d05b081
commit 6de3da78a5

View File

@ -76,6 +76,8 @@ By default public key is stored in the same folder named tg.pub:
./telegram -k tg.pub
Client support TAB completion and command history.
Peer refers to the name of the contact and can be accessed by TAB completion.
### Supported commands
@ -84,6 +86,7 @@ Client support TAB completion and command history.
* **msg** \<peer\> Text - sends message to this peer
* **fwd** \<user\> \<msg-seqno\> - forward message to user. You can see message numbers starting client with -N
* **chat_with_peer** \<peer\> starts one on one chat session with this peer. /exit or /quit to end this mode.
* **add_contact** \<phone-number\> \<first-name\> \<last-name\> - tries to add contact to contact-list by phone
* **rename_contact** \<user\> \<first-name\> \<last-name\> - tries to rename contact. If you have another device it will be a fight
* **mark_read** \<peer\> - mark read all received messages with peer