When a user taps a bot's button in a channel without having previously viewed or interacted with the bot that created it, the bot cannot properly display an ephemeral message above the original message.
This issue occurs only on iOS. On Android and Desktop, ephemeral messages are displayed correctly.
Searching for the bot by username and opening its profile is sufficient to resolve the issue. After doing so, tapping the button in the channel displays the ephemeral message as expected.
Technical notes: The bot correctly receives the button's callback update, and calling sendMessage with EphemeralMessageParameters successfully returns ok. However, despite the successful API response, the ephemeral message is never actually displayed.
Steps to reproduce
Open the @bruninoittest demo channel.
Click the button. Nothing happens.
Search for @BugTelegramDemoBot in the search bar and open the bot profile.
Go back to @bruninoittest.
Click the button again. The ephemeral message is displayed correctly.
Current result
On iOS, tapping a bot's button in a channel does not display the ephemeral message if the bot has not previously been opened or viewed. The bot receives the callback update, and the API call returns ok, but the message is not displayed.
Expected result
The ephemeral message should be displayed when tapping the bot's button in a channel, regardless of whether the user has previously opened or interacted with the bot.