Retrieve UserChat of a particular User.
Accessible via URL https://api.channel.io/open/v5/users/{userId}/user-chats and HTTP GET
Present parameters in query string
Parameter | Example | Required | Description | Parameter type |
|---|---|---|---|---|
userId | 12345 | Required | ID of | Path |
sortOrder | desc | Optional | Sorting order. - available values : asc, desc, both - default value : desc (descending order means latest message first) | Query |
since | 500000 | Optional | Epoch time in microseconds of the first message to be retrieved. If the since parameter is left empty, the list retrieved will start with the first message (as specified by the order parameter). | Query |
limit | 40 | Optional | Restrict the maximum number of direct chats to be retrieved. - min : 1 - max : 500 - default : 25 | Query |
Returns a set of UserChat along with related information