Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with Inline Mode Display When Triggered via Telegram Bot or Mini-Application #28721

Open
icekristal opened this issue Dec 2, 2024 · 0 comments
Labels

Comments

@icekristal
Copy link

Steps to reproduce

When issuing a receipt through the bot or application, the inline mode in Telegram does not display correctly. If I send a command via inline mode, e.g., @Office_apd_dev_bot s 1, directly in a chat, it works perfectly. However, if I try to use inline mode by triggering it from another chat, the inline mode window above the message input field does not appear unless the message is edited.

  1. Open the bot @Office_apd_dev_bot.

  2. Navigate to the "Receipts" section.

  3. Click the "Issue Receipt" button.

  4. Enter an amount, e.g., 1.

  5. Click "Select Recipient."

  6. Select a recipient from the list.

  7. The chat with the user opens, and the inline mode phrase and amount are pre-filled, but the inline mode window does not appear until the message is modified.

  8. Windows Desktop:

    • From Telegram Bot: Works correctly.
    • From Mini-app: Works correctly.
  9. Windows Web:

  10. MacOS Desktop:

    • From Telegram Bot: Works correctly.
    • From Mini-app: Works correctly.
  11. MacOS Safari:

  12. MacOS Chrome:

  13. Android App:

    • From Telegram Bot: Works correctly.
    • From Mini-app: Works correctly.
  14. Android Web:

  15. iOS App:

  16. iOS Chrome:

    • From Telegram Bot: Works correctly.
    • From Mini-app: Works correctly.
  17. iOS Safari:

    • From Telegram Bot: Works correctly.
    • From Mini-app: Works correctly.

Expected behaviour

The inline mode message should appear automatically when the command is executed or the receipt is issued through the bot/application without requiring additional modifications.

Actual behaviour

The inline mode message does not appear unless changes are made to the command or message (e.g., adding a number).

Impact:

This issue disrupts the proper functioning of inline mode and negatively affects user experience, as manual modifications to the command or text are required for the message to display correctly.

Hypothesis:

The issue may be related to the handling of inline mode in Telegram when interacting with the bot/application, requiring recalculation of command parameters.
photo_2024-11-29_17-13-33 (2)
photo_2024-11-29_17-13-33 (3)
photo_2024-11-29_17-13-33

Operating system

Other

Version of Telegram Desktop

5.8.3 x64

Installation source

Static binary from official website

Crash ID

No response

Logs

No response

@icekristal icekristal added the bug label Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant