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

Feature request: Add support for telegram bot web apps #171

Open
Talisman9964 opened this issue Jun 4, 2024 · 4 comments
Open

Feature request: Add support for telegram bot web apps #171

Talisman9964 opened this issue Jun 4, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@Talisman9964
Copy link

Would be awesome if i was able to inspect my telegram bot web apps on mobile directly in telegram . If possible please add support for telegram web apps webview to chromext . I am not sure if telegram android uses the system webview or not but it seems like it does

@JingMatrix
Copy link
Owner

If you cannot do it with Chrome on desktops, then you cannot do it with ChromeXt.
Telegram bots codes are mostly server side, not executed inside your client browsers.

@JingMatrix JingMatrix added the question Further information is requested label Jun 4, 2024
@Talisman9964
Copy link
Author

If you cannot do it with Chrome on desktops, then you cannot do it with ChromeXt. Telegram bots codes are mostly server side, not executed inside your client browsers.

Indeed , usually telegram bots are server side applications but nowadays bots can launch a webview with a web ui for better user experience , and yes we can debug them using chrome devtools on desktop . You can find more info on https://core.telegram.org/bots/webapps#debug-mode-for-mini-apps .

telegram also has a demo web app called @durgerking

@JingMatrix JingMatrix reopened this Jun 4, 2024
@JingMatrix
Copy link
Owner

JingMatrix commented Jun 4, 2024

Thank you for the information.
You may provide more if you proceed to investigate this issue, which would be great.
In ChromeXt, there is more or less re-implement of WebSocket messaging.
See https://github.com/JingMatrix/ChromeXt/tree/master/app/src/main/java/org/matrix/chromext/devtools

Moreover, the front-end of ChromeXt deliberately ignore debug sessions for service-workers, which might cause the issue.

@JingMatrix JingMatrix added enhancement New feature or request and removed question Further information is requested labels Jun 4, 2024
@Tanzin01
Copy link

Tanzin01 commented Nov 2, 2024

@Talisman9964 were you able to find a solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants