struct

Telegram::Sticker

Inherits JSON::Serializable < Struct < Value < Object

Telegram API type: Sticker This object represents a sticker.

Constructors

new(file_id : String, file_unique_id : String, type : String, width : Int64, height : Int64, is_animated : Bool, is_video : Bool, thumbnail : PhotoSize | Nil = nil, emoji : String | Nil = nil, set_name : String | Nil = nil, premium_animation : TelegramFile | Nil = nil, mask_position : MaskPosition | Nil = nil, custom_emoji_id : String | Nil = nil, needs_repainting : Bool | Nil = nil, file_size : Int64 | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

clone
Source
copy_with(file_id _file_id = @file_id, file_unique_id _file_unique_id = @file_unique_id, type _type = @type, width _width = @width, height _height = @height, is_animated _is_animated = @is_animated, is_video _is_video = @is_video, thumbnail _thumbnail = @thumbnail, emoji _emoji = @emoji, set_name _set_name = @set_name, premium_animation _premium_animation = @premium_animation, mask_position _mask_position = @mask_position, custom_emoji_id _custom_emoji_id = @custom_emoji_id, needs_repainting _needs_repainting = @needs_repainting, file_size _file_size = @file_size)
Source
custom_emoji_id
emoji
file_id
file_size
file_unique_id
height
is_animated
is_video
mask_position
needs_repainting
premium_animation
set_name
thumbnail
type
width