Recent chat
To retreive the topic based recent chat data you can use the below API.
info
{api-base-url}
can be obtained from the MirrorFly console.
#
HTTP request#
Request ParamsParam | DataType | Required | Description |
---|---|---|---|
topicIds | Array of String | Yes | List of TopicIds to fetch chats associated with each TopicId |
page | Number | No | Page number to get the particular page data default value is 1 |
size | Number | No | Number of chats per page default value is 10 |
Note : Topics can be created from here Create Topic
#
ResponsesIf successful, this action returns recent chats list in the response body.
#
ErrorIn the case of an error, an error object like below is returned.
When the token passed in Headers is expired
In the case of a Bad Request, an error message is returned