class Telegram::API::StickerSet

Overview

This object represents a sticker set.

Defined in:

telegram/api/generated/types.cr

Constructors

Instance Method Summary

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) #

[View source]
def self.new(pull : JSON::PullParser) #

This object represents a sticker set.


[View source]

Instance Method Detail

def contains_masks : Bool #

True, if the sticker set contains masks


[View source]
def contains_masks=(contains_masks : Bool) #

True, if the sticker set contains masks


[View source]
def is_animated : Bool #

True, if the sticker set contains animated stickers


[View source]
def is_animated=(is_animated : Bool) #

True, if the sticker set contains animated stickers


[View source]
def name : String #

Sticker set name


[View source]
def name=(name : String) #

Sticker set name


[View source]
def stickers : Array(Sticker) #

List of all set stickers


[View source]
def stickers=(stickers : Array(Sticker)) #

List of all set stickers


[View source]
def thumb : PhotoSize | Nil #

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


[View source]
def thumb=(thumb : PhotoSize | Nil) #

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


[View source]
def title : String #

Sticker set title


[View source]
def title=(title : String) #

Sticker set title


[View source]