Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F632063
ChatBoostSourcePremium.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
710 B
Referenced Files
None
Subscribers
None
ChatBoostSourcePremium.php
View Options
<?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
Details
Attached
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)
Attached To
Mode
R123 php-telegram-bot
Attached
Detach File
Event Timeline