UpdateFileGenerationStart class final
The file generation process needs to be started by the application. Use setFileGenerationProgress and finishFileGeneration to generate the file
Constructors
- UpdateFileGenerationStart({required int generationId, required String originalPath, required String destinationPath, required String conversion, dynamic extra, int? clientId})
-
The file generation process needs to be started by the application. Use setFileGenerationProgress and finishFileGeneration to generate the file
const
-
UpdateFileGenerationStart.fromJson(Map<
String, dynamic> json) -
Parses a UpdateFileGenerationStart from TDLib JSON.
factory
Properties
- clientId → int?
-
Identifier of the TDLib client that sent this object.
final
- conversion → String
-
If the conversion is "#url#", then original_path contains an HTTP/HTTPS URL of a file that must be downloaded by the application. Otherwise, this is the conversion specified by the application in inputFileGenerated
final
- destinationPath → String
-
The path to a file that must be created and where the new file must be generated by the application. If the application has no access to the path, it can use writeGeneratedFilePart to generate the file
final
- extra → dynamic
-
"@extra" of the request this object answers.
final
- generationId → int
-
Unique identifier for the generation process
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- originalPath → String
-
The original path specified by the application in inputFileGenerated
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{int? generationId, String? originalPath, String? destinationPath, String? conversion, dynamic extra, int? clientId}) → UpdateFileGenerationStart -
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g.
field: () => nullto clear it.override -
getConstructor(
) → String -
TDLib type name, e.g.
updateNewMessage.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Converts this object to TDLib JSON.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- CONSTRUCTOR → const String
- TDLib type name.