class Tourmaline::StickerSet
- Tourmaline::StickerSet
- Reference
- Object
Overview
This object represents a sticker set.
Included Modules
- JSON::Serializable
Defined in:
tourmaline/types/api.crConstructors
- .new(name : String, title : String, sticker_type : String, is_animated : Bool, is_video : Bool, stickers : Array(Tourmaline::Sticker) = [] of Tourmaline::Sticker, thumbnail : Tourmaline::PhotoSize | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#is_animated=(is_animated : Bool)
True, if the sticker set contains animated stickers
-
#is_animated? : Bool
True, if the sticker set contains animated stickers
-
#is_video=(is_video : Bool)
True, if the sticker set contains video stickers
-
#is_video? : Bool
True, if the sticker set contains video stickers
-
#name : String
Sticker set name
-
#name=(name : String)
Sticker set name
-
#sticker_type : String
Type of stickers in the set, currently one of "regular", "mask", "custom_emoji"
-
#sticker_type=(sticker_type : String)
Type of stickers in the set, currently one of "regular", "mask", "custom_emoji"
-
#stickers : Array(Tourmaline::Sticker)
List of all set stickers
-
#stickers=(stickers : Array(Tourmaline::Sticker))
List of all set stickers
-
#thumbnail : Tourmaline::PhotoSize | Nil
Optional.
-
#thumbnail=(thumbnail : Tourmaline::PhotoSize | Nil)
Optional.
-
#title : String
Sticker set title
-
#title=(title : String)
Sticker set title
Constructor Detail
Instance Method Detail
Type of stickers in the set, currently one of "regular", "mask", "custom_emoji"
Type of stickers in the set, currently one of "regular", "mask", "custom_emoji"
Optional. Sticker set thumbnail in the .WEBP, .TGS, or .WEBM format
Optional. Sticker set thumbnail in the .WEBP, .TGS, or .WEBM format