class TD::StickerSetInfo

Included Modules

Defined in:

telegram/types/sticker_set_info.cr

Constructors

Instance Method Summary

Instance methods inherited from class TD::Base

extract_abstract_type(__json : JSON::Any) extract_abstract_type, extract_type(__json : JSON::Any, class_type : Class) extract_type

Macros inherited from class TD::Base

object_attributes(type) object_attributes, object_type(type) object_type

Constructor Detail

def self.new(id : String, title : String, name : String, thumbnail : Union(TD::Thumbnail, Nil), thumbnail_outline : Array(TD::ClosedVectorPath), size : Int32, covers : Array(TD::Sticker), is_installed : Bool = false, is_archived : Bool = false, is_official : Bool = false, is_animated : Bool = false, is_masks : Bool = false, is_viewed : Bool = false) #

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

[View source]
def self.new(__json : JSON::Any | Nil = nil) #

[View source]

Instance Method Detail

def covers : Array(TD::Sticker) #

def covers=(covers : Array(TD::Sticker)) #

def id : String #

def id=(id : String) #

def is_animated : Bool #

def is_animated=(is_animated : Bool) #

def is_archived : Bool #

def is_archived=(is_archived : Bool) #

def is_installed : Bool #

def is_installed=(is_installed : Bool) #

def is_masks : Bool #

def is_masks=(is_masks : Bool) #

def is_official : Bool #

def is_official=(is_official : Bool) #

def is_viewed : Bool #

def is_viewed=(is_viewed : Bool) #

def name : String #

def name=(name : String) #

def object_type : String #

def object_type=(object_type : String) #

def size : Int32 #

def size=(size : Int32) #

def thumbnail : TD::Thumbnail? #

def thumbnail=(thumbnail : Nil | TD::Thumbnail) #

def thumbnail_outline : Array(TD::ClosedVectorPath) #

def thumbnail_outline=(thumbnail_outline : Array(TD::ClosedVectorPath)) #

def title : String #

def title=(title : String) #