Conversation
表示具有“私下提及”可见性的会话。
示例
{
"id": "418450",
"unread": true,
"accounts": [
{
"id": "482403",
"username": "amic",
"acct": "amic@nulled.red",
// ...
}
],
"last_status": {
"id": "103196583826321184",
"created_at": "2019-11-25T04:08:24.000Z",
"in_reply_to_id": "103196540587943467",
"in_reply_to_account_id": "14715",
// ...
}
}
属性
id
描述: 数据库中会话的 ID。
类型: 字符串(从整数转换而来,但不保证是一个数字)
版本历史:
2.6.0 - 添加
unread
描述: 会话当前是否标记为未读?
类型: 布尔值
版本历史:
2.6.0 - 添加
accounts
描述: 会话的参与者。
类型: Account 数组
版本历史:
2.6.0 - 添加
last_status
描述: 会话中的最后一条嘟文。
类型: nullable Status
版本历史:
2.6.0 - 添加
参见
会话 API 方法 app/serializers/rest/conversation_serializer.rb翻译状态: 本文是英文页面 Conversation 的翻译,最后翻译时间:2025-04-21,点击这里可以查看翻译后页面的改动。