Conversation
Represents a conversation with "direct message" visibility.
Example
{
"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",
// ...
}
}
Attributes
id
Description: The ID of the conversation in the database.
Type: String (cast from an integer, but not guaranteed to be a number)
Version history:
2.6.0 - added
unread
Description: Is the conversation currently marked as unread?
Type: Boolean
Version history:
2.6.0 - added
accounts
Description: Participants in the conversation.
Type: Array of Account
Version history:
2.6.0 - added
last_status
Description: The last status in the conversation.
Type: nullable Status
Version history:
2.6.0 - added
See also
conversations API methods app/serializers/rest/conversation_serializer.rbLast updated November 20, 2022 路 Improve this page