class
TD::RemoteFile
- TD::RemoteFile
- TD::Base
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
telegram/types/remote_file.crConstructors
- .new(id : String, unique_id : String, uploaded_size : Int32, is_uploading_active : Bool = false, is_uploading_completed : Bool = false)
- .new(pull : JSON::PullParser)
- .new(__json : JSON::Any | Nil = nil)
Instance Method Summary
- #id : String
- #id=(id : String)
- #is_uploading_active : Bool
- #is_uploading_active=(is_uploading_active : Bool)
- #is_uploading_completed : Bool
- #is_uploading_completed=(is_uploading_completed : Bool)
- #object_type : String
- #object_type=(object_type : String)
- #unique_id : String
- #unique_id=(unique_id : String)
- #uploaded_size : Int32
- #uploaded_size=(uploaded_size : Int32)
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)
#