# getListOfChats
Description
Get the chat list
void getListOfChats()
Response example
{
"method": "getListOfChats",
"requestId" : "1",
"list": [
{
"chatId": "b1fc9f0f8eb7dfd8cc86d60699cb051f4ae7d776",
"title": "Conference",
"group": true
},
{
"chatId": "b3b6e79f00677a63b545791fafca80d1119e56c3",
"callId": "user@some.server",
"group": false
}
],
"result": true
}
Response Parameters
Name | Description |
---|---|
chatId | Chat identifier |
callId | The identifier of the user you chatted with |
title | The chat name. The field is available only for group chat |
group | Flag showing the type of chat (group or not) |
requestId | A unique request identifier |
result | A flag indicating whether the request was successful |
See also