diff options
| author | lain <lain@soykaf.club> | 2020-05-10 13:01:20 +0200 | 
|---|---|---|
| committer | lain <lain@soykaf.club> | 2020-05-10 13:01:20 +0200 | 
| commit | 17be3ff669865102848df034045eb2889eed3976 (patch) | |
| tree | 3de3d0a5f3259960dd1ca1c13d1968bf7c959848 | |
| parent | f335e1404a9cd19451b531e32e3591aa323761ff (diff) | |
| download | pleroma-17be3ff669865102848df034045eb2889eed3976.tar.gz pleroma-17be3ff669865102848df034045eb2889eed3976.zip | |
Documentation: Add last_message to chat docs.
| -rw-r--r-- | docs/API/chats.md | 6 | 
1 files changed, 4 insertions, 2 deletions
| diff --git a/docs/API/chats.md b/docs/API/chats.md index 3ddc13541..1f6175f77 100644 --- a/docs/API/chats.md +++ b/docs/API/chats.md @@ -62,7 +62,8 @@ Returned data:      ...    },    "id" : "1", -  "unread" : 2 +  "unread" : 2, +  "last_message" : {...} // The last message in that chat  }  ``` @@ -105,7 +106,8 @@ Returned data:          ...        },        "id" : "1", -      "unread" : 2 +      "unread" : 2, +      "last_message" : {...} // The last message in that chat     }  ]  ``` | 
