{"history",{ca_peer,ca_number|ca_optional,ca_number|ca_optional,ca_none},do_history,"history <peer> [limit] [offset]\tPrints messages with this peer (most recent message lower). Also marks messages as read"},
{"history",{ca_peer,ca_number|ca_optional,ca_number|ca_optional,ca_none},do_history,"history <peer> [limit] [offset]\tPrints messages with this peer (most recent message lower). Also marks messages as read"},
{"import_card",{ca_string,ca_none},do_import_card,"import_card <card>\tGets user by card and prints it name. You can then send messages to him as usual"},
{"import_card",{ca_string,ca_none},do_import_card,"import_card <card>\tGets user by card and prints it name. You can then send messages to him as usual"},
{"load_audio",{ca_number,ca_none},do_load_audio,"load_audio <msg-id>\tDownloads file to downloads dirs. Prints file name after download end"},
{"load_audio",{ca_number,ca_none},do_load_audio,"load_audio <msg-id>\tDownloads file to downloads dirs. Prints file name after download end"},
{"load_chat_photo",{ca_chat,ca_none},do_load_user_photo,"load_chat_photo <chat>\tDownloads file to downloads dirs. Prints file name after download end"},
{"load_document",{ca_number,ca_none},do_load_document,"load_document <msg-id>\tDownloads file to downloads dirs. Prints file name after download end"},
{"load_document",{ca_number,ca_none},do_load_document,"load_document <msg-id>\tDownloads file to downloads dirs. Prints file name after download end"},
{"load_document_thumb",{ca_number,ca_none},do_load_document_thumb,"load_document_thumb <msg-id>\tDownloads file to downloads dirs. Prints file name after download end"},
{"load_document_thumb",{ca_number,ca_none},do_load_document_thumb,"load_document_thumb <msg-id>\tDownloads file to downloads dirs. Prints file name after download end"},
{"load_file",{ca_number,ca_none},do_load_file,"load_file <msg-id>\tDownloads file to downloads dirs. Prints file name after download end"},
{"load_file",{ca_number,ca_none},do_load_file,"load_file <msg-id>\tDownloads file to downloads dirs. Prints file name after download end"},
{"load_file_thumb",{ca_number,ca_none},do_load_file_thumb,"load_file_thumb <msg-id>\tDownloads file to downloads dirs. Prints file name after download end"},
{"load_file_thumb",{ca_number,ca_none},do_load_file_thumb,"load_file_thumb <msg-id>\tDownloads file to downloads dirs. Prints file name after download end"},
{"load_photo",{ca_number,ca_none},do_load_photo,"load_photo <msg-id>\tDownloads file to downloads dirs. Prints file name after download end"},
{"load_photo",{ca_number,ca_none},do_load_photo,"load_photo <msg-id>\tDownloads file to downloads dirs. Prints file name after download end"},
{"load_user_photo",{ca_user,ca_none},do_load_user_photo,"load_user_photo <user>\tDownloads file to downloads dirs. Prints file name after download end"},
{"load_video",{ca_number,ca_none},do_load_video,"load_video <msg-id>\tDownloads file to downloads dirs. Prints file name after download end"},
{"load_video",{ca_number,ca_none},do_load_video,"load_video <msg-id>\tDownloads file to downloads dirs. Prints file name after download end"},
{"load_video_thumb",{ca_number,ca_none},do_load_video_thumb,"load_video_thumb <msg-id>\tDownloads file to downloads dirs. Prints file name after download end"},
{"load_video_thumb",{ca_number,ca_none},do_load_video_thumb,"load_video_thumb <msg-id>\tDownloads file to downloads dirs. Prints file name after download end"},
{"main_session",{ca_none},do_main_session,"main_session\tSends updates to this connection (or terminal). Useful only with listening socket"},
{"main_session",{ca_none},do_main_session,"main_session\tSends updates to this connection (or terminal). Useful only with listening socket"},
{"status_offline",{ca_none},do_status_offline,"status_offline\tSets status as offline"},
{"status_offline",{ca_none},do_status_offline,"status_offline\tSets status as offline"},
{"user_info",{ca_user,ca_none},do_user_info,"user_info <user>\tPrints info about user (id, last online, phone)"},
{"user_info",{ca_user,ca_none},do_user_info,"user_info <user>\tPrints info about user (id, last online, phone)"},
{"view_audio",{ca_number,ca_none},do_open_audio,"view_audio <msg-id>\tDownloads file to downloads dirs. Then tries to open it with system default action"},
{"view_audio",{ca_number,ca_none},do_open_audio,"view_audio <msg-id>\tDownloads file to downloads dirs. Then tries to open it with system default action"},
{"view_chat_photo",{ca_chat,ca_none},do_view_user_photo,"view_chat_photo <chat>\tDownloads file to downloads dirs. Then tries to open it with system default action"},
{"view_document",{ca_number,ca_none},do_open_document,"view_document <msg-id>\tDownloads file to downloads dirs. Then tries to open it with system default action"},
{"view_document",{ca_number,ca_none},do_open_document,"view_document <msg-id>\tDownloads file to downloads dirs. Then tries to open it with system default action"},
{"view_document_thumb",{ca_number,ca_none},do_open_document_thumb,"view_document_thumb <msg-id>\tDownloads file to downloads dirs. Then tries to open it with system default action"},
{"view_document_thumb",{ca_number,ca_none},do_open_document_thumb,"view_document_thumb <msg-id>\tDownloads file to downloads dirs. Then tries to open it with system default action"},
{"view_file",{ca_number,ca_none},do_open_file,"view_file <msg-id>\tDownloads file to downloads dirs. Then tries to open it with system default action"},
{"view_file",{ca_number,ca_none},do_open_file,"view_file <msg-id>\tDownloads file to downloads dirs. Then tries to open it with system default action"},
{"view_file_thumb",{ca_number,ca_none},do_open_file_thumb,"view_file_thumb <msg-id>\tDownloads file to downloads dirs. Then tries to open it with system default action"},
{"view_file_thumb",{ca_number,ca_none},do_open_file_thumb,"view_file_thumb <msg-id>\tDownloads file to downloads dirs. Then tries to open it with system default action"},
{"view_photo",{ca_number,ca_none},do_open_photo,"view_photo <msg-id>\tDownloads file to downloads dirs. Then tries to open it with system default action"},
{"view_photo",{ca_number,ca_none},do_open_photo,"view_photo <msg-id>\tDownloads file to downloads dirs. Then tries to open it with system default action"},
{"view_user_photo",{ca_user,ca_none},do_view_user_photo,"view_user_photo <user>\tDownloads file to downloads dirs. Then tries to open it with system default action"},
{"view_video",{ca_number,ca_none},do_open_video,"view_video <msg-id>\tDownloads file to downloads dirs. Then tries to open it with system default action"},
{"view_video",{ca_number,ca_none},do_open_video,"view_video <msg-id>\tDownloads file to downloads dirs. Then tries to open it with system default action"},
{"view_video_thumb",{ca_number,ca_none},do_open_video_thumb,"view_video_thumb <msg-id>\tDownloads file to downloads dirs. Then tries to open it with system default action"},
{"view_video_thumb",{ca_number,ca_none},do_open_video_thumb,"view_video_thumb <msg-id>\tDownloads file to downloads dirs. Then tries to open it with system default action"},
{"view",{ca_number,ca_none},do_open_any,"view <msg-id>\tTries to view message contents"},
{"view",{ca_number,ca_none},do_open_any,"view <msg-id>\tTries to view message contents"},