Skip to content

Pin 消息概述

你可以将会话中的某条重要消息设为 Pin,方便随时查看。Pin 列表中的内容对会话中的所有成员可见。

image.png

字段说明

名称类型描述
pinpinPin 的操作信息
└ message_idstringPin 的消息 ID
└ chat_idstringPin 消息所在的群聊 ID
└ operator_idstringPin 的操作人 ID
└ operator_id_typestringPin 的操作人 ID 类型。可能值有: - open_id:表示操作人为用户,此时 operator_id 返回值为用户的 open_id。 - app_id:表示操作人为应用,此时 operator_id 返回值为应用的 app_id。
└ create_timestringPin 的创建时间(毫秒级时间戳)

数据示例

json
{
  "pin": {
    "message_id": "om_dc13264520392913993dd051dba21dcf",
    "chat_id": "oc_a0553eda9014c201e6969b478895c230",
    "operator_id": "ou_7d8a6e6df7621556ce0d21922b676706ccs",
    "operator_id_type": "open_id",
    "create_time": "1615380573211"
  }
}

内容来源:飞书开放平台 · 自动爬取整理