curl --request POST \
--url https://api.example.com/broadcasts/{broadcast_id}/stop \
--header 'X-API-Key: <api-key>'{
"id": 123,
"target_type": "<string>",
"message_text": "<string>",
"has_media": true,
"total_count": 123,
"sent_count": 123,
"failed_count": 123,
"status": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"media_type": "<string>",
"media_file_id": "<string>",
"media_caption": "<string>",
"blocked_count": 0,
"admin_id": 123,
"admin_name": "<string>",
"completed_at": "2023-11-07T05:31:56Z"
}Остановка активной рассылки.
curl --request POST \
--url https://api.example.com/broadcasts/{broadcast_id}/stop \
--header 'X-API-Key: <api-key>'{
"id": 123,
"target_type": "<string>",
"message_text": "<string>",
"has_media": true,
"total_count": 123,
"sent_count": 123,
"failed_count": 123,
"status": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"media_type": "<string>",
"media_file_id": "<string>",
"media_caption": "<string>",
"blocked_count": 0,
"admin_id": 123,
"admin_name": "<string>",
"completed_at": "2023-11-07T05:31:56Z"
}Successful Response