You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
web_app button missing in inline query results on iOS for InlineQueryResultGif and InlineQueryResultPhoto #1687
The web_app button in inline query results is not displayed on iOS devices when using InlineQueryResultGif or InlineQueryResultPhoto types. The button works as expected on web and Android Telegram clients. This issue prevents users on iOS from easily accessing the web app linked to the inline query results.
Expected Behavior
The web_app button should be displayed above the inline query results on iOS devices, just like it is on web and desktop clients, regardless of the InlineQueryResult type used (specifically InlineQueryResultGif and InlineQueryResultPhoto). Users should be able to tap the button to launch the linked web app.
Actual Behavior
The web_app button is not displayed above the inline query results on iOS devices when using InlineQueryResultGif or InlineQueryResultPhoto. There is no button visible to the user, making it impossible to directly access the linked web app from the inline query results. This issue does not occur when using other InlineQueryResult types (e.g., InlineQueryResultArticle).
Steps to Reproduce
Create a Telegram bot that uses inline queries.
In the answerInlineQuery method, include the button parameter with a web_app object.
Use InlineQueryResultGif or InlineQueryResultPhoto as the result type.
Send an inline query to the bot from an iOS device.
Observe that the web_app button is not displayed above the results.
Activity