Get the chat list.
dialogs
The chat list includes avatars.
Request test
Request URL
https://api.replier.net/dialogs
Parameters
limit
|
Sets length of the dialog list. Default 0. With value 0 returns all dialogs. |
page
|
Page number, starts from 0, 0 by default. Example: 1 |
order
|
Sets order of the dialog list. Default descending ["asc", "desc"] (This can only be one of asc,desc) |
{ "dialogs": [ { "id": "[email protected]", "name": "Ok!", "image": "https://pps.whatsapp.net/v/t61.11540-24/42886681_356710581739497_4892819781461213184_n.jpg?oe=5BD90F82&oh=c256f7e5c7aeccd19cf2e626f3ef4236", "metadata": { "groupInviteLink": null, "isGroup": true, "participants": [ "[email protected]", "[email protected]" ], "admins": [ "[email protected]" ], "participantsInfo": [ { "name": "Sam" } ] }, "last_time": -64747794 }, { "id": "[email protected]", "name": "Ok!", "image": "https://pps.whatsapp.net/v/t61.11540-24/42886681_356710581739497_4892819781461213184_n.jpg?oe=5BD90F82&oh=c256f7e5c7aeccd19cf2e626f3ef4236", "metadata": { "groupInviteLink": null, "isGroup": true, "participants": [ "[email protected]", "[email protected]" ], "admins": [ "[email protected]" ], "participantsInfo": [ { "name": "Sam" } ] }, "last_time": -71606617 } ] }
Request samples
Note : don't forget to URL encode your query
params like base64 or utf-8