Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
tg
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
tg
Commits
66e26f9a
Commit
66e26f9a
authored
Nov 22, 2013
by
tazhate
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new format of readme
parent
3848f4c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
13 deletions
+32
-13
README.md
README.md
+32
-13
No files found.
README.md
View file @
66e26f9a
...
...
@@ -45,31 +45,50 @@ By default public key is stored in the same folder named tg.pub:
Client support TAB completion and command history.
#### Supported commands:
#### Supported commands
## Messaging
*
**msg**
\<
peer
\>
Text - sends message to this peer
*
**contact_list**
- prints info about users in your contact list
*
**stats**
- just for debugging
*
**history**
\<
peer
\>
[
limit
]
- prints history (and marks it as read). Default limit = 40
*
**dialog_list**
- prints info about your dialogs
*
**fwd**
\<
user
\>
\<
msg-seqno
\>
- forward message to user. You can see message numbers starting client with -N
*
**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
## Multimedia
*
**send_photo**
\<
peer
\>
\<
photo-file-name
\>
- sends photo to peer
*
**send_video**
\<
peer
\>
\<
video-file-name
\>
- sends video to peer
*
**send_text**
\<
peer
\>
\<
text-file-name> - sends text file as plain messages
*
**load_photo**
/load_video/load_video_thumb
\<
msg-seqno
\>
- loads photo/video to download dir
*
**view_photo**
/view_video/view_video_thumb
\<
msg-seqno
\>
- loads photo/video to download dir and starts system default viewer
## Group chat options
*
**chat_info**
\<
chat
\>
- prints info about chat
*
**user_info**
\<
user
\>
- prints info about user
*
**fwd**
\<
user
\>
\<
msg-seqno
\>
- forward message to user. You can see message numbers starting client with -N
*
**chat_add_user**
\<
chat
\>
\<
user
\>
- add user to chat
*
**chat_del_user**
\<
chat
\>
\<
user
\>
- remove user from chat
*
**rename_chat**
\<
chat
\>
\<
new-name
\>
*
**load_photo**
/load_video/load_video_thumb
\<
msg-seqno
\>
- loads photo/video to download dir
*
**view_photo**
/view_video/view_video_thumb
\<
msg-seqno
\>
- loads photo/video to download dir and starts system default viewer
## Search
*
**search**
\<
peer
\>
pattern - searches pattern in messages with peer
*
**global_search**
pattern - searches pattern in all messages
*
**mark_read**
\<
peer
\>
- mark read all received messages with peer
*
**add_contact**
\<
phone-number
\>
\<
first-name
\>
\<
last-name
\>
- tries to add contact to contact-list by phone
## Secret chat
*
**create_secret_chat**
\<
user
\>
- creates secret chat with this user
*
**rename_contact**
\<
user
\>
\<
first-name
\>
\<
last-name
\>
- tries to rename contact. If you have another device it will be a fight
*
**suggested_contacts**
- print info about contacts, you have max common friends
*
**visualize_key**
\<
secret_chat
\>
- prints visualization of encryption key. You should compare it to your partner's one
## Stats and various info
*
**user_info**
\<
user
\>
- prints info about user
*
**history**
\<
peer
\>
[
limit
]
- prints history (and marks it as read). Default limit = 40
*
**dialog_list**
- prints info about your dialogs
*
**contact_list**
- prints info about users in your contact list
*
**suggested_contacts**
- print info about contacts, you have max common friends
*
**stats**
- just for debugging
*
**show_license**
- prints contents of GPLv2
*
**help**
- prints this help
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment