使用电报bot web app集成组成
我遵循电报机器人API文档,以在telegram bot中为Web应用程序的新功能提供,但我设法使其仅在与机器人的私人聊天中使用。
也可以小组使用吗?如果否,是否计划将来更新?
我什么都没发现文档中的小组。
I followed telegram bot api documentation for the new feature of web application in telegram bots, but I managed to get it working only in private chats with the bot.
Can it be also used in groups? If no, is it planned for future updates?
I didn't found anything about groups in the documentation.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
不,这是不可能的。 WebApp仅在与Bot的私人聊天中工作。
No, this is not possible now. WebApp working only in private chat with bot.
您可以将a link 单击网络应用程序。它按预期工作,并支持渠道和组。 首先注册WebApp 。
如果您想使用 inlinekeyboardbutton 使用
web_app
它只能在私人聊天中起作用:You may put a link inside a text message that will open Web App on click. It works as expected and supports both channels and groups. Register a WebApp first.
If you want to use InlineKeyboardButton with the
web_app
type, it will work only in private chats:因此,因为在2023年,您可以做到。
So, for in 2023 you can do it.