class TD::RemoteFile

Included Modules

Defined in:

telegram/types/remote_file.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, unique_id : String, uploaded_size : Int32, is_uploading_active : Bool = false, is_uploading_completed : 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 id : String #

def id=(id : String) #

def is_uploading_active : Bool #

def is_uploading_active=(is_uploading_active : Bool) #

def is_uploading_completed : Bool #

def is_uploading_completed=(is_uploading_completed : Bool) #

def object_type : String #

def object_type=(object_type : String) #

def unique_id : String #

def unique_id=(unique_id : String) #

def uploaded_size : Int32 #

def uploaded_size=(uploaded_size : Int32) #