Page MenuHomePhabricator (Chris)

StickerSet.php
No OneTemporary

Authored By
Unknown
Size
1003 B
Referenced Files
None
Subscribers
None

StickerSet.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 StickerSet
*
* @link https://core.telegram.org/bots/api#stickerset
*
* @method string getName() Sticker set name
* @method string getTitle() Sticker set title
* @method bool getContainsMasks() True, if the sticker set contains masks
*/
class StickerSet extends Entity
{
/**
* List of all set stickers
*
* This method overrides the default getStickers method
* and returns a nice array of Sticker objects.
*
* @return null|Sticker[]
*/
public function getStickers()
{
$pretty_array = $this->makePrettyObjectArray(Sticker::class, 'stickers');
return empty($pretty_array) ? null : $pretty_array;
}
}

File Metadata

Mime Type
text/x-php
Expires
Sat, Nov 14, 6:56 PM (18 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
126409
Default Alt Text
StickerSet.php (1003 B)

Event Timeline