TelegramSwift
TelegramSwift copied to clipboard
WebApp switchInlineQuery switch to bot instead of current input
According to the documentation, the window.Telegram.WebApp.switchInlineQuery() function, if the choose_chat_types parameter was not passed, should insert the contents of query into the current input field from which it was called. In the iOS application, everything works correctly, but in the desktop application, instead of the current chat, query is inserted into the chat window with the bot.
The bug is easily reproduced even with @DurgerKingBot
Wrong:
Correct:
same