class

Tourmaline::StickerSet

Inherits JSON::Serializable < Reference < Object

This object represents a sticker set.

Constructors

new(name : String, title : String, sticker_type : String, stickers : Array(Tourmaline::Sticker) = [] of Tourmaline::Sticker, thumbnail : Tourmaline::PhotoSize | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

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