Unigram
Unigram copied to clipboard
Animation bug of inline result button
Describe the bug
The top button in inline query result (which is called switch_pm_text
in Bot API) sends a deep-linking parameter to bots when pressed. When searching in the chat with bot, the animation looks weird.
To Reproduce
Steps to reproduce the behavior:
Say, testing with @oiTubeBot
- Go to
@oiTubeBot
- Type
@oiTubeBot
in the input area and a space - Click the top button of the results the bot shows
- See error
Expected behavior
The behavior, when searching in a different chat from the bot, is to close the inline result list, go to bot chat and send /start
with deep-link params. Hence, I think the behavior when searching in the bot chat should be consistent with the former.
Screenshots
-
Example of
switch_pm_text
button -
Screen recording
Version Info
- Unigram: 8.6.7342 x64
- Windows: Build 22000.593