Skip to content

pinChatMessage

将消息钉在聊天中。

请求

POST /:token/pinchatmessage

参数

参数类型必填描述
chat_idInteger/String目标聊天 ID
message_idInteger要钉住的消息 ID
disable_notificationBoolean是否静默钉住

响应

成功时返回 Boolean 值 true

json
{
  "ok": true,
  "result": true
}

错误码

错误码描述
400请求参数错误
401Token 无效
403无权限执行此操作
404消息不存在