Fix web_app example (#1546)

* Fix url in button

* Fixed URL path in the "Open" button at the `demo/sendMessage` endpoint

* Fix web_app example

* Add changelog

* Restore old changelog
This commit is contained in:
Bogdan 2024-07-27 16:21:45 +03:00 committed by GitHub
parent a3d6c1615e
commit 2516f32168
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -43,7 +43,7 @@ async def send_message_handler(request: Request):
[
InlineKeyboardButton(
text="Open",
web_app=WebAppInfo(url=str(request.url.with_scheme("https"))),
web_app=WebAppInfo(url=str(request.url.with_scheme("https").with_path("demo"))),
)
]
]