在没有启动命令的情况下将电报机器人添加到组 [英] Add telegram bot to a group without start command
问题描述
要将机器人添加到群组,我们可以使用此链接:
To add a bot to a group we can use this link:
https://telegram.me/[botname]?startgroup=foo
它会显示一个对话框来选择一个组.但是当机器人被添加到组中时,也会像这样添加启动命令:
It shows up a dialog to select a group. But when the bot is added to the group a start command also gets added like this:
/start@[botname]
问题是群成员会一直点击这个启动命令,会很尴尬.
The problem is that group members will keep tapping on this start command and it will be awkward.
如何在没有可点击命令链接的情况下简单地将机器人添加到组中?没有其他深层链接吗?
How to simply add a bot to a group without a clickable command link? Isn't there any other deep link?
推荐答案
3 年前的问题,但是,我尝试使用不带负载的链接,并且机器人添加到没有命令的组:
3 years old question but, I've tried use link without payload and the bot added to group without command:
/start@[botname]
没有payload的链接是这样的:
The link without payload is like this:
https://t.me/[botname]?startgroup=
这篇关于在没有启动命令的情况下将电报机器人添加到组的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!