accept_secret_chat Accepts secret chat. Only useful with -E option add_contact Tries to add user to contact list block_user Blocks user broadcast + Sends text to several users at once chat_add_user [msgs-to-forward] Adds user to chat. Sends him last msgs-to-forward message from this chat. Default 100 chat_del_user Deletes user from chat chat_info Prints info about chat (id, members, admin, etc.) chat_set_photo Sets chat photo. Photo will be cropped to square chat_with_peer Interface option. All input will be treated as messages to this peer. Type /quit to end this mode clear Clears all data and exits. For debug. contact_list Prints contact list contact_search username Searches user by username create_group_chat + Creates group chat with users create_secret_chat Starts creation of secret chat del_contact Deletes contact from contact list delete_msg Deletes message dialog_list [limit=100] [offset=0] List of last conversations export_card Prints card that can be imported by another user with import_card method export_chat_link Prints chat link that can be used to join to chat fwd + Forwards message to peer. Forward to secret chats is forbidden fwd_media Forwards message media to peer. Forward to secret chats is forbidden. Result slightly differs from fwd get_message Get message by id get_self Get our user info help Prints this help history [limit] [offset] Prints messages with this peer (most recent message lower). Also marks messages as read import_card Gets user by card and prints it name. You can then send messages to him as usual import_chat_link Joins to chat by link load_audio Downloads file to downloads dirs. Prints file name after download end load_chat_photo Downloads file to downloads dirs. Prints file name after download end load_document Downloads file to downloads dirs. Prints file name after download end load_document_thumb Downloads file to downloads dirs. Prints file name after download end load_file Downloads file to downloads dirs. Prints file name after download end load_file_thumb Downloads file to downloads dirs. Prints file name after download end load_photo Downloads file to downloads dirs. Prints file name after download end load_user_photo Downloads file to downloads dirs. Prints file name after download end load_video Downloads file to downloads dirs. Prints file name after download end load_video_thumb Downloads file to downloads dirs. Prints file name after download end main_session Sends updates to this connection (or terminal). Useful only with listening socket mark_read Marks messages with peer as read msg Sends text message to peer msg Sends text message to peer with custom kbd quit Quits immediately rename_chat Renames chat rename_contact Renames contact reply Sends text reply to message reply_audio Sends audio to peer reply_contact Sends contact (not necessary telegram user) reply_document Sends document to peer reply_file Sends document to peer reply_location Sends geo location reply_photo [caption] Sends photo to peer reply_video Sends video to peer resolve_username username Searches user by username safe_quit Waits for all queries to end, then quits search [peer] [limit] [from] [to] [offset] pattern Search for pattern in messages from date from to date to (unixtime) in messages with peer (if peer not present, in all messages) send_audio Sends audio to peer send_contact Sends contact (not necessary telegram user) send_document Sends document to peer send_file Sends document to peer send_location Sends geo location send_photo [caption] Sends photo to peer send_text Sends contents of text file as plain text message send_typing [status] Sends typing notification. You can supply a custom status (range 0-10): none, typing, cancel, record video, upload video, record audio, upload audio, upload photo, upload document, geo, choose contact. send_typing_abort Sends typing notification abort send_video [caption] Sends video to peer set Sets value of param. Currently available: log_level, debug_verbosity, alarm, msg_num set_password Sets password set_profile_name Sets profile name. set_profile_photo Sets profile photo. Photo will be cropped to square set_ttl Sets secret chat ttl. Client itself ignores ttl set_username Sets username. show_license Prints contents of GPL license start_bot Adds bot to chat stats For debug purpose status_online Sets status as online status_offline Sets status as offline unblock_user Unblocks user user_info Prints info about user (id, last online, phone) view_audio Downloads file to downloads dirs. Then tries to open it with system default action view_chat_photo Downloads file to downloads dirs. Then tries to open it with system default action view_document Downloads file to downloads dirs. Then tries to open it with system default action view_document_thumb Downloads file to downloads dirs. Then tries to open it with system default action view_file Downloads file to downloads dirs. Then tries to open it with system default action view_file_thumb Downloads file to downloads dirs. Then tries to open it with system default action view_photo Downloads file to downloads dirs. Then tries to open it with system default action view_user_photo Downloads file to downloads dirs. Then tries to open it with system default action view_video Downloads file to downloads dirs. Then tries to open it with system default action view_video_thumb Downloads file to downloads dirs. Then tries to open it with system default action view Tries to view message contents visualize_key Prints visualization of encryption key (first 16 bytes sha1 of it in fact}