unable to create web_app button
See original GitHub issueGood afternoon, an update has recently been released in telegram and added web_app buttons. leading to the “site” in the telegram itself, the documentation says that you need to import the script to the page and create a button in the bot
Html:
<html><head>
<script src="https://telegram.org/js/telegram-web-app.js"></script>
</head></html>
code for sending a message with a button:
from aiogram.types import InlineKeyboardMarkup, InlineKeyboardButton
from aiogram.types.web_app_info import WebAppInfo
await msg.reply("test", reply_markup=InlineKeyboardMarkup().add(InlineKeyboardButton(text="test", web_app=WebAppInfo(url="https://test_link"))))
Error:
Button_type_invalid
thanks in advance for your help)
Source: https://stackoverflow.com/questions/71914783/unable-to-create-web-app-button-aiogram
Issue Analytics
- State:
- Created a year ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
New Web Application button disabled
Open up IE as administrator and navigate to your central admin page. Now navigate to "Manage Web Applications" and the "New" option will...
Read more >python - unable to create web_app button aiogram
Try it like this, everything worked for me, although yesterday I also encountered this error, it's strange. Run this code with your API ......
Read more >New Web Application Greyed Out SharePoint 2016 - SPGeeks
In this post, we will be fixing New web application greyed out SharePoint 2016 that you may face when creating a new web...
Read more >Problem: Unable to save edits in Web AppBuilder for ArcGIS
This enables the Save button to save edits made to the web app. In the web app page, select another theme and click...
Read more >Cannot create a new message from Outlook Web App
When you select the New button to create a new message in Microsoft Outlook Web App (OWA) in Microsoft 365, no message window...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Oh my God, you won’t believe it, but it worked! Nothing worked with the same code yesterday. Magic! Here is the code I tested:
Thanks.
Magic…