Messages
Get dialogs
Get dialogs for current user
get/dialogs
Request
- Base URL: https://api.yani.tv
- URL: https://api.yani.tv/dialogs
- Auth: none declared
Query parameters
need_uidinteger
Get first dialog with specific user id (if this dialog was opened by some parameter)
limitinteger
Limit
offsetinteger
Offset
Response
Success response
Example response
{
"response": {
"dialogs": [
{
"nickname": "user_nickname",
"avatars": {
"big": "https://example.com/big.webp",
"full": "https://example.com/full.avif",
"small": "https://example.com/small.webp"
},
"roles": [
"root"
],
"user_id": 1,
"banned": false,
"last_message": "Last message text",
"unread_count": 12,
"date": 123455644,
"last_online": 123455644
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.