Various Fixes

This commit is contained in:
Ilya Laktyushin
2021-09-21 20:28:40 +03:00
parent 667aec4df0
commit 9aa4256dbf
4 changed files with 29 additions and 4 deletions

View File

@@ -311,7 +311,7 @@ func inputTextPanelStateForChatPresentationInterfaceState(_ chatPresentationInte
stickersEnabled = false
}
}
if chatPresentationInterfaceState.hasBots {
if chatPresentationInterfaceState.hasBots && chatPresentationInterfaceState.hasBotCommands {
accessoryItems.append(.commands)
}
accessoryItems.append(.stickers(stickersEnabled))