Telegram 机器人:我现在可以开始聊天吗?
Telegram Bots: Can I now start a chat or not?
https://core.telegram.org/bots 清楚地说:
Bots can't initiate conversations with users. A user must either add them to a group or send them a message first.
但是如果我访问 https://telegram.org/blog/login 它说
Telegram bots are a powerful communication tool, but until today they couldn't start a conversation. Even if you wanted them to reach out to you, you had to chat them up first.
With the new login widget, moving from interacting with a website to a conversation on Telegram becomes completely frictionless.
因此可以通过登录小部件以某种方式开始对话。但是我该怎么做呢?
我得到一个用户 ID。是否有 api 端点来发起与用户的聊天?
正如你所说,电报明确表示机器人无法开始对话,机器人唯一能做的就是向旧对话发送消息(我的意思是用户必须开始对话)。
开始与 Telegram 机器人对话的唯一方法是自己开始与他们对话。机器人无法与用户自己开始对话。
https://core.telegram.org/bots 清楚地说:
Bots can't initiate conversations with users. A user must either add them to a group or send them a message first.
但是如果我访问 https://telegram.org/blog/login 它说
Telegram bots are a powerful communication tool, but until today they couldn't start a conversation. Even if you wanted them to reach out to you, you had to chat them up first. With the new login widget, moving from interacting with a website to a conversation on Telegram becomes completely frictionless.
因此可以通过登录小部件以某种方式开始对话。但是我该怎么做呢? 我得到一个用户 ID。是否有 api 端点来发起与用户的聊天?
正如你所说,电报明确表示机器人无法开始对话,机器人唯一能做的就是向旧对话发送消息(我的意思是用户必须开始对话)。
开始与 Telegram 机器人对话的唯一方法是自己开始与他们对话。机器人无法与用户自己开始对话。