Messages
Delete message
delete/dialogs/messages/{id}
Request
- Base URL: https://api.yani.tv
- URL: https://api.yani.tv/dialogs/messages/{id}
- Auth: none declared
Path parameters
idinteger required
Message ID
Request body
Response
Success response
Example response
{
"response": {
"id": 123,
"avatars": {
"big": "https://example.com/big.webp",
"full": "https://example.com/full.avif",
"small": "https://example.com/small.webp"
},
"roles": [
"root"
],
"text": "Message text",
"answer_to_id": 0,
"date": 123455644,
"deleted": false,
"deleted_by_id": 0,
"edited": false,
"edited_by_id": 0,
"from_id": 1,
"message_to_answer": "Message to answer text",
"nickname": "nickname",
"read": false,
"to_id": 2,
"user_to_answer": {
"id": 2,
"nickname": "nickname",
"avatars": {
"big": "https://example.com/big.webp",
"full": "https://example.com/full.avif",
"small": "https://example.com/small.webp"
}
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.