Skip to content

class Tourmaline::StickerSet
inherits Reference #

This object represents a sticker set.

Included modules

JSON::Serializable

Constructors#

.new(name, title, sticker_type, stickers : Array(Tourmaline::Sticker) = [] of Tourmaline::Sticker, thumbnail : Tourmaline::PhotoSize? = nil) #

View source

.new(pull : JSON::PullParser) #

View source

Methods#

#name : String #

Sticker set name

View source

#name=(name : String) #

Sticker set name

View source

#sticker_type : String #

Type of stickers in the set, currently one of "regular", "mask", "custom_emoji"

View source

#sticker_type=(sticker_type : String) #

Type of stickers in the set, currently one of "regular", "mask", "custom_emoji"

View source

#stickers : Array(Tourmaline::Sticker) #

List of all set stickers

View source

#stickers=(stickers : Array(Tourmaline::Sticker)) #

List of all set stickers

View source

#thumbnail : Tourmaline::PhotoSize? #

Optional. Sticker set thumbnail in the .WEBP, .TGS, or .WEBM format

View source

#thumbnail=(thumbnail : Tourmaline::PhotoSize?) #

Optional. Sticker set thumbnail in the .WEBP, .TGS, or .WEBM format

View source

#title : String #

Sticker set title

View source

#title=(title : String) #

Sticker set title

View source