class TelegramBot::Models::File

Overview

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

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


[View source]

Instance Method Detail

def file_id : String #

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

[View source]
def file_path : String | Nil #

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

[View source]
def file_size : Int32 | Nil #

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

[View source]
def file_unique_id : String #

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

[View source]