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

[BUG] KeyboardButton with request_location parameter has basic behavior #394

Open
Darveivoldavara opened this issue Jan 21, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@Darveivoldavara
Copy link

Describe the bug
When clicked, any KeyboardButton with True request_location parameter (for bots) behaves as usual (just sends text) and is also clickable

To Reproduce
Steps to reproduce the behavior:

  1. Open ReplyKeyboardMarkup with request_location KeyboardButton in a dialogue with a bot opened in Telegram WebK
  2. Click this button
  3. As a result, no location request occurs, the text from the button is simply sent to the chat

Expected behavior
As far as I understand, there is no full-fledged possibility to implement a location request with a map, similar to the mobile version of Telegram.
It would be better to make such buttons initially unclickable, as in Telegram Web A, or display a notification after clicking, as in the desktop Telegram application. Since the current message sending behavior is clearly not what is expected for such buttons

Screenshots
These are examples of more expected behavior listed above

Image

Image

Desktop (please complete the following information):

  • OS: Ubuntu 24.04.1 LTS (Linux 6.8.0-51-generic); Windows 11 Pro (Version 23H2 - OS Build 22631.2009)
  • Browser: Google Chrome 64 bit (132.0.6834.83); Mozilla Firefox 64 bit (134.0.1)
@Darveivoldavara Darveivoldavara added the bug Something isn't working label Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant