Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
mediavkontakte.php
1<?php
2
4
8
9
14{
15 public const TYPE_CODE = Media\Service::TYPE_VKONTAKTE;
16
17 protected static $listRowMap = [
18 'ID' => 'ID',
19 'NAME' => 'NAME',
20 'LOCALE' => 'LOCALE',
21 ];
22
23 public function getVideo($videoId): Response
24 {
25 $res = $this->getRequest()->send([
26 'methodName' => 'media.video.get',
27 'parameters' => [
28 'videos' => $videoId,
29 ]
30 ]);
31
32 return $res;
33 }
34}