外观
mark_msg_as_read
标记一条消息已读。框架根据消息引用自动选择群聊序号或私聊时间游标。
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
self_id | number | 是 | 在线 Bot QQ 号 |
message_id | number | 是 | 群聊或私聊消息 ID |
js
await api.mark_msg_as_read(1060221, message_id)外观
标记一条消息已读。框架根据消息引用自动选择群聊序号或私聊时间游标。
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
self_id | number | 是 | 在线 Bot QQ 号 |
message_id | number | 是 | 群聊或私聊消息 ID |
await api.mark_msg_as_read(1060221, message_id)调用前必读
const targetApi = api.forProtocol('linux') // 或 'android'原始 action 请求只使用附件约定的 client_type: 'android' | 'linuxqq';省略时选择 Android。