1.7 KiB
1.7 KiB
title | description | menu | aliases | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
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]({{< relref "entities/Account" >}}) 数组
版本历史:
2.6.0 - 添加
last_status
描述: 会话中的最后一条嘟文。
类型: {{}} [Status]({{< relref "entities/Status" >}})
版本历史:
2.6.0 - 添加
参见
{{< page-relref ref="methods/conversations" caption="会话 API 方法" >}}
{{< caption-link url="https://github.com/mastodon/mastodon/blob/main/app/serializers/rest/conversation_serializer.rb" caption="app/serializers/rest/conversation_serializer.rb" >}}
{{< translation-status-zh-cn raw_title="Conversation" raw_link="/entities/Conversation/" last_translation_time="2025-04-21" raw_commit="6addd5cf525adec1859f48c52dafcfe1f96e558a">}}