for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Longman\TelegramBot\Entities\PaidMedia;
use Longman\TelegramBot\Entities\PhotoSize;
use Longman\TelegramBot\Entities\Video;
/**
* Class PaidMediaVideo
*
* The paid media is a video.
* @link https://core.telegram.org/bots/api#paidmediavideo
* @method string getType() Type of the paid media, always “video”
* @method Video getVideo() The video
* @method $this setType(string $type) Type of the paid media, always “video”
* @method $this setVideo(Video $video) The video
*/
class PaidMediaVideo extends PaidMedia
{
protected function subEntities(): array
return [
'video' => Video::class,
];
}