tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
Loading...
Searching...
No Matches
td::td_api::updateFileGenerationStart Class Referencefinal

#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>

Inheritance diagram for td::td_api::updateFileGenerationStart:
td::td_api::Update td::td_api::Object td::TlObject

Public Member Functions

 updateFileGenerationStart ()
 
 updateFileGenerationStart (int64 generation_id_, string const &original_path_, string const &destination_path_, string const &conversion_)
 
void store (TlStorerToString &s, const char *field_name) const final
 
- Public Member Functions inherited from td::TlObject
virtual void store (TlStorerUnsafe &s) const
 
virtual void store (TlStorerCalcLength &s) const
 
 TlObject ()=default
 
 TlObject (const TlObject &)=delete
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (TlObject &&)=default
 
virtual ~TlObject ()=default
 

Public Attributes

int64 generation_id_
 Unique identifier for the generation process.
 
string original_path_
 The original path specified by the application in inputFileGenerated.
 
string destination_path_
 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.
 
string conversion_
 If the conversion is "#url#" than 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.
 

Static Public Attributes

static const std::int32_t ID = 216817388
 Identifier uniquely determining a type of the object.
 

Detailed Description

The file generation process needs to be started by the application. Use setFileGenerationProgress and finishFileGeneration to generate the file.

Definition at line 79264 of file td_api.h.

Constructor & Destructor Documentation

◆ updateFileGenerationStart() [1/2]

td::td_api::updateFileGenerationStart::updateFileGenerationStart ( )

The file generation process needs to be started by the application. Use setFileGenerationProgress and finishFileGeneration to generate the file.

◆ updateFileGenerationStart() [2/2]

td::td_api::updateFileGenerationStart::updateFileGenerationStart ( int64  generation_id_,
string const &  original_path_,
string const &  destination_path_,
string const &  conversion_ 
)

The file generation process needs to be started by the application. Use setFileGenerationProgress and finishFileGeneration to generate the file.

Parameters
[in]generation_id_Unique identifier for the generation process.
[in]original_path_The original path specified by the application in inputFileGenerated.
[in]destination_path_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.
[in]conversion_If the conversion is "#url#" than 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.

Member Function Documentation

◆ store()

void td::td_api::updateFileGenerationStart::store ( TlStorerToString &  s,
const char *  field_name 
) const
finalvirtual

Helper function for to_string method. Appends string representation of the object to the storer.

Parameters
[in]sStorer to which object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements td::TlObject.

Member Data Documentation

◆ conversion_

string td::td_api::updateFileGenerationStart::conversion_

If the conversion is "#url#" than 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.

Definition at line 79281 of file td_api.h.

◆ destination_path_

string td::td_api::updateFileGenerationStart::destination_path_

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.

Definition at line 79279 of file td_api.h.

◆ generation_id_

int64 td::td_api::updateFileGenerationStart::generation_id_

Unique identifier for the generation process.

Definition at line 79275 of file td_api.h.

◆ ID

const std::int32_t td::td_api::updateFileGenerationStart::ID = 216817388
static

Identifier uniquely determining a type of the object.

Definition at line 79299 of file td_api.h.

◆ original_path_

string td::td_api::updateFileGenerationStart::original_path_

The original path specified by the application in inputFileGenerated.

Definition at line 79277 of file td_api.h.


The documentation for this class was generated from the following file: