Skip to content

Commit 6024b5f

Browse files
committed
Added the field is_video to the classes Sticker and StickerSet.
1 parent c5900b0 commit 6024b5f

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/Entities/Sticker.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111

1212
namespace Longman\TelegramBot\Entities;
1313

14+
use phpDocumentor\Reflection\Types\Boolean;
15+
1416
/**
1517
* Class Sticker
1618
*
@@ -21,6 +23,7 @@
2123
* @method int getWidth() Sticker width
2224
* @method int getHeight() Sticker height
2325
* @method bool getIsAnimated() True, if the sticker is animated
26+
* @method bool getIsVideo() True, if the sticker is a video sticker
2427
* @method PhotoSize getThumb() Optional. Sticker thumbnail in .webp or .jpg format
2528
* @method string getEmoji() Optional. Emoji associated with the sticker
2629
* @method string getSetName() Optional. Name of the sticker set to which the sticker belongs

src/Entities/StickerSet.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
* @method string getName() Sticker set name
2020
* @method string getTitle() Sticker set title
2121
* @method bool getIsAnimated() True, if the sticker set contains animated stickers
22+
* @method bool getIsVideo() True, if the sticker set contains video stickers
2223
* @method bool getContainsMasks() True, if the sticker set contains masks
2324
* @method Sticker[] getStickers() List of all set stickers
2425
* @method PhotoSize getThumb() Optional. Sticker set thumbnail in the .WEBP or .TGS format

0 commit comments

Comments
 (0)