data[] item is a dialog whose peer is a group or channel. This isget-groups.curl --location '/api/telegram/groups' \
--header 'Content-Type: application/json' \
--data '{
"authkey": "{{authkey}}",
"appkey": "{{appkey}}"
}'{
"success": true,
"data": [
{
"id": 555555555,
"name": "My Telegram Group"
},
{
"id": 777777777,
"name": "Announcements"
}
],
"meta": {
"count": 2
}
}