mark_msg_as_read

mark_msg_as_read写操作扩展
标记消息已读(群聊/私聊自动路由)

Call via POST http://127.0.0.1:3000/mark_msg_as_read (JSON params as the body) or WebSocket.

Parameters

Param Type Required Default Description
message_id messageId
target_id uint

Returns (data)

Returns the standard OneBot envelope; the data shape is not yet documented.

Examples

curl
Python
JavaScript
Go
SnowLuma SDK
curl -X POST http://127.0.0.1:3000/mark_msg_as_read \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer <access-token>' \
  -d '{"message_id":100001,"target_id":0}'
Using an AI assistant?

MCP-capable clients can discover and call this action directly — no hand-written HTTP. See MCP.