Page MenuHomePhabricator (Chris)

Sticker.php
No OneTemporary

Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None

Sticker.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;
/**
* Class Sticker
*
* @link https://core.telegram.org/bots/api#sticker
*
* @method string getFileId() Identifier for this file, which can be used to download or reuse the file
* @method string getFileUniqueId() Unique identifier for this file, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.
* @method int getWidth() Sticker width
* @method int getHeight() Sticker height
* @method bool getIsAnimated() True, if the sticker is animated
* @method PhotoSize getThumb() Optional. Sticker thumbnail in .webp or .jpg format
* @method string getEmoji() Optional. Emoji associated with the sticker
* @method string getSetName() Optional. Name of the sticker set to which the sticker belongs
* @method MaskPosition getMaskPosition() Optional. For mask stickers, the position where the mask should be placed
* @method int getFileSize() Optional. File size
*/
class Sticker extends Entity
{
/**
* {@inheritdoc}
*/
protected function subEntities(): array
{
return [
'thumb' => PhotoSize::class,
'mask_position' => MaskPosition::class,
];
}
}

File Metadata

Mime Type
text/x-php
Expires
Sun, Nov 15, 9:03 AM (1 d, 21 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
129112
Default Alt Text
Sticker.php (1 KB)

Event Timeline