Page MenuHomePhabricator (Chris)

ChatBoostSourcePremium.php
No OneTemporary

Authored By
Unknown
Size
710 B
Referenced Files
None
Subscribers
None

ChatBoostSourcePremium.php

<?php
namespace Longman\TelegramBot\Entities\ChatBoostSource;
use Longman\TelegramBot\Entities\Entity;
use Longman\TelegramBot\Entities\User;
/**
* The boost was obtained by subscribing to Telegram Premium or by gifting a Telegram Premium subscription to another user.
*
* @link https://core.telegram.org/bots/api#chatboostsourcepremium
*
* @method string getSource() Source of the boost, always “premium”
* @method User getUser() User that boosted the chat
*/
class ChatBoostSourcePremium extends Entity implements ChatBoostSource
{
/**
* {@inheritdoc}
*/
protected function subEntities(): array
{
return [
'user' => User::class,
];
}
}

File Metadata

Mime Type
text/x-php
Expires
Sun, Nov 15, 1:28 PM (1 d, 21 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
137914
Default Alt Text
ChatBoostSourcePremium.php (710 B)

Event Timeline