mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/telegramdesktop/tdesktop
synced 2026-09-21 00:23:56 +08:00
Support disabled bot keyboard buttons
Task: 2026/07/27/restore-bot-keyboards-on-new-button-scheme
This commit is contained in:
@@ -559,6 +559,8 @@ void ActivateBotCommand(ClickHandlerContext context, int row, int column) {
|
||||
}
|
||||
} break;
|
||||
|
||||
case ButtonType::Disabled: break;
|
||||
|
||||
case ButtonType::SuggestAccept: {
|
||||
Api::AcceptClickHandler(item)->onClick(ClickContext{
|
||||
Qt::LeftButton,
|
||||
|
||||
Reference in New Issue
Block a user