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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user