{"chat_del_user",{ca_chat,ca_user,ca_none},do_chat_del_user,"chat_del_user <chat> <user>\tDeletes user from chat",NULL},
{"chat_info",{ca_chat,ca_none},do_chat_info,"chat_info <chat>\tPrints info about chat (id, members, admin, etc.)",NULL},
{"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",NULL},
{"chat_upgrade",{ca_chat,ca_none},do_chat_upgrade,"chat_upgrade <chat>\tUpgrades chat to megagroup",NULL},
{"chat_with_peer",{ca_peer,ca_none},do_chat_with_peer,"chat_with_peer <peer>\tInterface option. All input will be treated as messages to this peer. Type /quit to end this mode",NULL},
{"clear",{ca_none},do_clear,"clear\tClears all data and exits. For debug.",NULL},
{"export_chat_link",{ca_chat,ca_none},do_export_chat_link,"export_chat_link\tPrints chat link that can be used to join to chat",NULL},
{"fwd",{ca_peer,ca_msg_id,ca_period,ca_none},do_fwd,"fwd <peer> <msg-id>+\tForwards message to peer. Forward to secret chats is forbidden",NULL},
{"fwd_media",{ca_peer,ca_msg_id,ca_none},do_fwd_media,"fwd_media <peer> <msg-id>\tForwards message media to peer. Forward to secret chats is forbidden. Result slightly differs from fwd",NULL},
{"get_terms_of_service",{ca_none},do_get_terms_of_service,"get_terms_of_service\tPrints telegram's terms of service",NULL},
{"get_message",{ca_msg_id,ca_none},do_get_message,"get_message <msg-id>\tGet message by id",NULL},
{"get_self",{ca_none},do_get_self,"get_self \tGet our user info",NULL},
{"help",{ca_command|ca_optional,ca_none},do_help,"help [command]\tPrints this help",NULL},
...
...
@@ -2577,7 +2592,16 @@ void print_channel_info_gw (struct tgl_state *TLSR, void *extra, int success, st