class Telegram::API::StickerSet
- Telegram::API::StickerSet
- Telegram::API::Type
- Reference
- Object
Overview
This object represents a sticker set.
Defined in:
telegram/api/generated/types.crConstructors
- .new(name : String, title : String, is_animated : Bool, contains_masks : Bool, stickers : Array(Sticker) = Array(Sticker).new, thumb : PhotoSize | Nil = nil)
-
.new(pull : JSON::PullParser)
This object represents a sticker set.
Instance Method Summary
-
#contains_masks : Bool
True, if the sticker set contains masks
-
#contains_masks=(contains_masks : Bool)
True, if the sticker set contains masks
-
#is_animated : Bool
True, if the sticker set contains animated stickers
-
#is_animated=(is_animated : Bool)
True, if the sticker set contains animated stickers
-
#name : String
Sticker set name
-
#name=(name : String)
Sticker set name
-
#stickers : Array(Sticker)
List of all set stickers
-
#stickers=(stickers : Array(Sticker))
List of all set stickers
-
#thumb : PhotoSize | Nil
Optional.
-
#thumb=(thumb : PhotoSize | Nil)
Optional.
-
#title : String
Sticker set title
-
#title=(title : String)
Sticker set title
Instance methods inherited from class Telegram::API::Type
==(other)
==,
client
client
Constructor methods inherited from class Telegram::API::Type
new(pull : JSON::PullParser)
new
Constructor Detail
def self.new(name : String, title : String, is_animated : Bool, contains_masks : Bool, stickers : Array(Sticker) = Array(Sticker).new, thumb : PhotoSize | Nil = nil)
#
Instance Method Detail
Optional. Sticker set thumbnail in the .WEBP or .TGS format
Optional. Sticker set thumbnail in the .WEBP or .TGS format