PreliminaryUploadFile class

Preliminary uploads a file to the cloud before sending it in a message, which can be useful for uploading of being recorded voice and video notes. Updates updateFile will be used.

Returns File.

Inheritance
Available Extensions

Constructors

PreliminaryUploadFile({required InputFile file, FileType? file_type, required int priority, int? extra, int? clientId})
Preliminary uploads a file to the cloud before sending it in a message, which can be useful for uploading of being recorded voice and video notes. Updates updateFile will be used

Properties

clientId int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
extra int?
Request identifier. Must be non-zero.
read / writeoverride
file InputFile
File to upload.
read / write
file_type FileType?
File type; pass null if unknown.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
priority int
Priority of the upload (1-32). The higher the priority, the earlier the file will be uploaded. If the priorities of two files are equal, then the first one for which preliminaryUploadFile was called will be uploaded first.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Object to Map serializer
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromMap(Map<String, dynamic>? _map) PreliminaryUploadFile?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"preliminaryUploadFile"