The List Chats API GET /chats
seems to be sorted by the lastUpdatedDateTime, and I'm using this API to get the latest chats for a user.
However, some old chats are appearing in the first page of the returned data, and I'm not sure why.
I'm aware that this property isn't just based on the last message time, but also things like group membership and topic update as well.
So I made a call to GET /chats/{chat-id}
to get the details of the chat item, to see if I can find out what actually got updated. And to my surprise, the lastUpdatedDateTime here is different to the one from the GET /chats
API
GET /chats/{chat-id}
Result:
GET /chats
Result:
Is this a bug?