Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F630662
ChatBoostSourceGiftCode.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
694 B
Referenced Files
None
Subscribers
None
ChatBoostSourceGiftCode.php
View Options
<?php
namespace
Longman
\
TelegramBot
\
Entities
\
ChatBoostSource
;
use
Longman
\
TelegramBot
\
Entities
\
Entity
;
use
Longman
\
TelegramBot
\
Entities
\
User
;
/**
* The boost was obtained by the creation of Telegram Premium gift codes to boost a chat.
*
* @link https://core.telegram.org/bots/api#chatboostsourcegiftcode
*
* @method string getSource() Source of the boost, always “gift_code”
* @method User getUser() User for which the gift code was created
*/
class
ChatBoostSourceGiftCode
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, 10:02 AM (1 d, 21 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
135012
Default Alt Text
ChatBoostSourceGiftCode.php (694 B)
Attached To
Mode
R123 php-telegram-bot
Attached
Detach File
Event Timeline