Page MenuHomePhabricator (Chris)

PaidMediaInfo.php
No OneTemporary

Authored By
Unknown
Size
750 B
Referenced Files
None
Subscribers
None

PaidMediaInfo.php

<?php
namespace Longman\TelegramBot\Entities;
use Longman\TelegramBot\Entities\PaidMedia\PaidMedia;
/**
* Class PaidMediaInfo
*
* Describes the paid media.
*
* @link https://core.telegram.org/bots/api#paidmediainfo
*
* @method int getStarCount() The number of Telegram Stars that must be paid to buy access to the media
* @method PaidMedia[] getPaidMedia() The paid media
*
* @method $this setStarCount(int $starCount) The number of Telegram Stars that must be paid to buy access to the media
* @method $this setPaidMedia(PaidMedia[] $paidMedia) The paid media
*/
class PaidMediaInfo extends Entity
{
protected function subEntities(): array
{
return [
'paid_media' => [PaidMedia::class],
];
}
}

File Metadata

Mime Type
text/x-php
Expires
Sat, Nov 14, 10:27 PM (19 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
132177
Default Alt Text
PaidMediaInfo.php (750 B)

Event Timeline