Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F621273
StickerSet.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
1003 B
Referenced Files
None
Subscribers
None
StickerSet.php
View Options
<?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
Details
Attached
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)
Attached To
Mode
R123 php-telegram-bot
Attached
Detach File
Event Timeline