Page MenuHomePhabricator (Chris)

ChatBoost.php
No OneTemporary

Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None

ChatBoost.php

<?php
/**
* This file is part of the TelegramBot package.
*
* (c) Avtandil Kikabidze aka LONGMAN <akalongman@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Longman\TelegramBot\Entities;
use Longman\TelegramBot\Entities\ChatBoostSource\Factory as ChatBoostSourceFactory;
/**
* This object contains information about a chat boost.
*
* @link https://core.telegram.org/bots/api#chatboost
*
* @method string getBoostId() Unique identifier of the boost
* @method int getAddDate() Point in time (Unix timestamp) when the chat was boosted
* @method int getExpirationDate() Point in time (Unix timestamp) when the boost will automatically expire, unless the booster's Telegram Premium subscription is prolonged
* @method ChatBoostSource getSource() Source of the added boost
*/
class ChatBoost extends Entity
{
/**
* {@inheritdoc}
*/
protected function subEntities(): array
{
return [
'source' => ChatBoostSourceFactory::class,
];
}
}

File Metadata

Mime Type
text/x-php
Expires
Sat, Nov 14, 11:41 PM (1 d, 13 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
128001
Default Alt Text
ChatBoost.php (1 KB)

Event Timeline