Unigram icon indicating copy to clipboard operation
Unigram copied to clipboard

Animation bug of inline result button

Open AnotiaWang opened this issue 2 years ago • 0 comments

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

  1. Go to @oiTubeBot
  2. Type @oiTubeBot in the input area and a space
  3. Click the top button of the results the bot shows
  4. 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 image

  • Screen recording bandicam 2022-04-08 11-38-49-970

Version Info

  • Unigram: 8.6.7342 x64
  • Windows: Build 22000.593

AnotiaWang avatar Apr 08 '22 04:04 AnotiaWang