class TelegramBot::Models::Animation

Overview

https://core.telegram.org/bots/api#animation

Defined in:

telegram_bot/models.cr

Constructors

Instance Method Summary

Constructor methods inherited from class TelegramBot::Models::Base

new(pull : JSON::PullParser) new

Constructor Detail

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

https://core.telegram.org/bots/api#animation


[View source]

Instance Method Detail

def duration : Int64 #

[View source]
def duration=(duration : Int64) #

[View source]
def file_id : String #

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

[View source]
def file_name : String | Nil #

[View source]
def file_name=(file_name : String | Nil) #

[View source]
def file_size : Int64 | Nil #

[View source]
def file_size=(file_size : Int64 | Nil) #

[View source]
def file_unique_id : String #

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

[View source]
def height : Int64 #

[View source]
def height=(height : Int64) #

[View source]
def mime_type : String | Nil #

[View source]
def mime_type=(mime_type : String | Nil) #

[View source]
def thumb : PhotoSize | Nil #

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

[View source]
def width : Int64 #

[View source]
def width=(width : Int64) #

[View source]