mirror of
https://github.com/openvk/openvk
synced 2024-11-14 19:19:14 +03:00
23 lines
507 B
PHP
23 lines
507 B
PHP
|
<?php declare(strict_types=1);
|
|||
|
namespace openvk\VKAPI\Handlers;
|
|||
|
|
|||
|
final class Audio extends VKAPIRequestHandler
|
|||
|
{
|
|||
|
function get(): object
|
|||
|
{
|
|||
|
$serverUrl = ovk_scheme(true) . $_SERVER["SERVER_NAME"];
|
|||
|
|
|||
|
return (object) [
|
|||
|
"count" => 1,
|
|||
|
"items" => [(object) [
|
|||
|
"id" => 1,
|
|||
|
"owner_id" => 1,
|
|||
|
"artist" => "В ОВК ПОКА НЕТ МУЗЫКИ",
|
|||
|
"title" => "ЖДИТЕ :)))",
|
|||
|
"duration" => 22,
|
|||
|
"url" => $serverUrl . "/assets/packages/static/openvk/audio/nomusic.mp3"
|
|||
|
]]
|
|||
|
];
|
|||
|
}
|
|||
|
}
|