bilibili-api icon indicating copy to clipboard operation
bilibili-api copied to clipboard

[提问] 如何轮询监听@事件消息

Open ColumbusK opened this issue 1 year ago • 1 comments

Python 版本: 3.x.y

模块版本: 16.1.1

运行环境: Windows


首先非常感谢作者大大!

以下这是提供的session event 类型,请问如何轮询@消息 事件类型: + TEXT: 纯文字消息 + PICTURE: 图片消息 + WITHDRAW: 撤回消息 + GROUPS_PICTURE: 应援团图片,但似乎不常触发,一般使用 PICTURE 即可 + SHARE_VIDEO: 分享视频 + NOTICE: 系统通知 + PUSHED_VIDEO: UP主推送的视频 + WELCOME: 新成员加入应援团欢迎

ColumbusK avatar Dec 23 '23 07:12 ColumbusK

https://github.com/SocialSisterYi/bilibili-API-collect/blob/56bfa77a70bab7c14cd829fd9726e560ed122e7f/docs/live/message_stream.md#%E6%99%AE%E9%80%9A%E5%8C%85

果然还是得把 BAC 链接扔进去...这是已知的,没找到 @ 事件,选 ALL 然后监听你分析下?

z0z0r4 avatar Dec 23 '23 10:12 z0z0r4