{"show_license",{ca_none},do_show_license,"show_license\tPrints contents of GPL license"},
{"search",{ca_peer|ca_optional,ca_number|ca_optional,ca_number|ca_optional,ca_number|ca_optional,ca_number|ca_optional,ca_string_end},do_search,"search [peer] [limit] [from] [to] [offset] pattern\tSearch for pattern in messages from date from to date to (unixtime) in messages with peer (if peer not present, in all messages)"},
{"mark_read",{ca_peer,ca_none},do_mark_read,"mark_read <peer>\tMarks messages with peer as read"},
{"contact_search",{ca_string,ca_number|ca_optional,ca_none},do_contact_search,"contact_search username [limit]\tSearches contacts by username"},
{"visualize_key",{ca_secret_chat,ca_none},do_visualize_key,"visualize_key <secret chat>\tPrints visualization of encryption key (first 16 bytes sha1 of it in fact}"},
{"create_secret_chat",{ca_user,ca_none},do_create_secret_chat,"create_secret_chat <user>\tStarts creation of secret chat"},
{"chat_add_user",{ca_chat,ca_user,ca_number|ca_optional,ca_none},do_chat_add_user,"chat_add_user <chat> <user> [msgs-to-forward]\tAdds user to chat. Sends him last msgs-to-forward message from this chat. Default 100"},
{"chat_set_photo",{ca_chat,ca_file_name_end,ca_none},do_chat_set_photo,"chat_set_photo <chat> <filename>\tSets chat photo. Photo will be cropped to square"},
{"set_profile_photo",{ca_file_name_end,ca_none},do_set_profile_photo,"set_profile_photo <filename>\tSets profile photo. Photo will be cropped to square"},
{"accept_secret_chat",{ca_secret_chat,ca_none},do_accept_secret_chat,"accept_secret_chat <secret chat>\tAccepts secret chat. Only useful with -E option"},