[英]Send new message for all bot users
I'm trying to understand telegram api (with node js) and now got this question. 我试图理解电报api(与节点js),现在得到了这个问题。 Is it really to create "form" and send custom message for all who using this bot?
是否真的为所有使用此bot的人创建“表单”并发送自定义消息? Ie without restarting bot send message :)
即不重新启动机器人发送消息:)
The only way is: 唯一的方法是:
You need to store all the users IDs somewhere. 您需要将所有用户ID存储在某个地方。 And after that you can sendMessage to all that IDs one by one.
然后,您可以将Message一对一地发送到所有ID。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.