audio.setBroadcast(audio, target_ids[, enabled]) — «Транслировать в статус». music 2026-10-29: enabled=1|0 switches the broadcast on/off; audio=<owner>_<id> sets the track that is playing now (only while the switch is on; cleared after VC_MUSIC_BC_TTL without a heartbeat); audio=0/empty = playback stopped. Response like VK: ids of the targets whose status was changed.
| Параметр | Тип | Обязательный | Описание |
|---|---|---|---|
audio |
mixed | нет | |
target_ids |
mixed | нет | |
enabled |
mixed | нет |
curl -s -X POST 'https://durovloh.net/api.php' \ -d 'method=audio.setBroadcast' \ -d 'access_token=USER_TOKEN'