Display bot privacy policy command.

This commit is contained in:
John Preston 2018-05-30 17:25:29 +03:00
parent 8f63fa71c9
commit 4b4e22d59d
2 changed files with 2 additions and 0 deletions

View File

@ -557,6 +557,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_profile_actions_section" = "Actions";
"lng_profile_bot_settings" = "Bot Settings";
"lng_profile_bot_help" = "Bot Help";
"lng_profile_bot_privacy" = "Bot Privacy Policy";
"lng_profile_invite_link_section" = "Invite link";
"lng_profile_create_public_link" = "Create public link";
"lng_profile_edit_public_link" = "Edit public link";

View File

@ -537,6 +537,7 @@ void ActionsFiller::addBotCommandActions(not_null<UserData*> user) {
};
addBotCommand(lng_profile_bot_help, qsl("help"));
addBotCommand(lng_profile_bot_settings, qsl("settings"));
addBotCommand(lng_profile_bot_privacy, qsl("privacy"));
}
void ActionsFiller::addReportAction() {