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] URL field of getBotCallbackAnswer is not processed #274
Comments
This will be implemented together with games. |
I wonder if there is any roadmap or issue to track? Also, just a feeling that this is a part related to bots functionality and partially to games. While other features related to bots working maybe it makes sense to treat it separately from games (sounds like a separate huge feature request). |
Just as idea what need to be changed on line 4291 of buubles.ts.
|
It's not that simple, see this. What do you need it for? |
Agree. I just was not aware if any similar implementation already exists in WebK version.
I want to build the following workflow for the bot:
|
Describe the bug
Based on official documentation of the keyboardButtonCallback, once a button is pressed by the user, the getBotCallbackAnswer method should be called. And there is a expected response of messages.botCallbackAnswer type. One of options is URL to the bot itself via URL field. However WebK version of Telegram client abandon this option while the same configuration works correctly on iOS and Desktop application.
To Reproduce
Steps to reproduce the behavior (here we assume you have a own bot to interact with Telegram client):
url
andhas_url
fields accordingly to documentationExpected behavior
Telegram client should switch the user to specified URL once messages.botCallbackAnswer received.
Desktop (please complete the following information):
Additional context
After quick overview, I have found a WebK source code responsible for processing of
message
field of the botCallbackAnswer. However there is nothing similar abouturl
field.Update:
I also found this works in Web A, there is a piece of code where exactly
url
field processed.The text was updated successfully, but these errors were encountered: