2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-30 22:16:14 +00:00

Handle bot callback buttons with password.

This commit is contained in:
John Preston
2020-08-25 14:57:17 +04:00
parent 49c230b898
commit fcdc4cd465
10 changed files with 301 additions and 144 deletions

View File

@@ -113,6 +113,13 @@ void activateBotCommand(
column);
} break;
case ButtonType::CallbackWithPassword: {
Api::SendBotCallbackDataWithPassword(
const_cast<HistoryItem*>(msg.get()),
row,
column);
} break;
case ButtonType::Buy: {
Ui::show(Box<InformBox>(tr::lng_payments_not_supported(tr::now)));
} break;