mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Pay button and messageMediaInvoice supported.
New button type keyboardButtonBuy just shows a box with information. WebDocument photo type is not supported yet, 'photo' is ignored. Also HistoryMediaPtr is now implemented as a std::unique_ptr wrapper.
This commit is contained in:
@@ -89,6 +89,10 @@ void activateBotCommand(const HistoryItem *msg, int row, int col) {
|
||||
}
|
||||
} break;
|
||||
|
||||
case ButtonType::Buy: {
|
||||
Ui::show(Box<InformBox>(lang(lng_payments_not_supported)));
|
||||
} break;
|
||||
|
||||
case ButtonType::Url: {
|
||||
auto url = QString::fromUtf8(button->data);
|
||||
auto skipConfirmation = false;
|
||||
|
Reference in New Issue
Block a user