class

Tourmaline::StickerSet

Inherits JSON::Serializable / Reference / Object

This object represents a sticker set.

Constructors

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)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

is_animated=(is_animated : Bool)

True, if the sticker set contains animated stickers

Source
is_animated?

True, if the sticker set contains animated stickers

Source
is_video=(is_video : Bool)

True, if the sticker set contains video stickers

Source
is_video?

True, if the sticker set contains video stickers

Source
name

Sticker set name

Source
name=(name : String)

Sticker set name

Source
sticker_type

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

Source
sticker_type=(sticker_type : String)

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

Source
stickers

List of all set stickers

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

List of all set stickers

Source
thumbnail

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

Source
thumbnail=(thumbnail : Tourmaline::PhotoSize | Nil)

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

Source
title

Sticker set title

Source
title=(title : String)

Sticker set title

Source