class Hamilton::Types::StickerSet

Overview

This object represents a sticker set.

Included Modules

Defined in:

types/sticker_set.cr

Constructors

Instance Method Summary

Instance methods inherited from class Reference

==(other : Hamilton::Any) ==

Instance methods inherited from class Object

===(other : Hamilton::Any) ===

Constructor Detail

def self.new(pull : JSON::PullParser) #

def self.new(params) #

def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

def self.new(**params) #

Instance Method Detail

def name : String #

Sticker set name.


def name=(name : String) #

Sticker set name.


def non_nil_fields : Array(String) #

List of available non-nil fields.


def non_nil_fields=(non_nil_fields : Array(String)) #

List of available non-nil fields.


def sticker_type : String #

Type of stickers in the set, currently one of “regular”, “mask”, “custom_emoji”.


def sticker_type=(sticker_type : String) #

Type of stickers in the set, currently one of “regular”, “mask”, “custom_emoji”.


def stickrs : Array(Hamilton::Types::Sticker) #

List of all set stickers.


def stickrs=(stickrs : Array(Hamilton::Types::Sticker)) #

List of all set stickers.


def thumbnail : Hamilton::Types::PhotoSize | Nil #

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


def thumbnail=(thumbnail : Hamilton::Types::PhotoSize | Nil) #

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


def title : String #

Sticker set title.


def title=(title : String) #

Sticker set title.