Support disabled bot keyboard buttons

Task: 2026/07/27/restore-bot-keyboards-on-new-button-scheme
This commit is contained in:
John Preston
2026-07-29 23:25:02 +04:00
parent e34f7038b5
commit ec688d566d
5 changed files with 7 additions and 2 deletions

View File

@@ -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,