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": "11234567890-13216468942@g.us",
"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": [
"11234567891@c.us",
"11234567892@c.us"
],
"admins": [
"11234567891@c.us"
],
"participantsInfo": [
{
"name": "Sam"
}
]
},
"last_time": -64747794
},
{
"id": "11234567890-13216468942@g.us",
"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": [
"11234567891@c.us",
"11234567892@c.us"
],
"admins": [
"11234567891@c.us"
],
"participantsInfo": [
{
"name": "Sam"
}
]
},
"last_time": -71606617
}
]
}
Request samples
Note : don't forget to URL encode your query
params like base64 or utf-8