1
4BVL25L90W260T9U 2023 年 3 月 22 日 不要滥用爬虫这个词,“拉”(pull) 不更好么?
|
3
xycool 2023 年 3 月 22 日
创建一个 bot ,把 bot 拉到群里面去就可以了。然后设置 bot 的 webhook 地址,就能收到群消息然后处理了,具体的可以看 bot 开发文档
|
5
ongongethan 2023 年 3 月 22 日
使用 bot 的话, 有两种方法可以接受的消息:
1. pull 方式,使用 getUpdates(),文档 https://core.telegram.org/bots/api#getupdates 2. push 方式,使用 webhook ,文档 https://core.telegram.org/bots/api#setwebhook |
6
ongongethan 2023 年 3 月 22 日
@ongongethan 接受的消息 - > 接收到消息
|
7
Alex76 OP @ongongethan 谢谢
|