TDLib
Loading...
Searching...
No Matches
td::td_api::updateFileGenerationStart Class Referencefinal

Inherits td::td_api::Update.

Public Member Functions

 updateFileGenerationStart ()
 
 updateFileGenerationStart (int64 generation_id_, string const &original_path_, string const &destination_path_, string const &conversion_)
 
std::int32_t get_id () const final
 
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 path to a file from which a new file is generated; may be empty.
 
string destination_path_
 The path to a file that must be created and where the new file is generated.
 
string conversion_
 String specifying the conversion applied to the original file. If conversion is "#url#" than original_path contains an HTTP/HTTPS URL of a file, which must be downloaded by the application.
 

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.

Constructor & Destructor Documentation

◆ updateFileGenerationStart() [1/2]

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

The file generation process needs to be started by the application.

◆ 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.

Parameters
[in]generation_id_Unique identifier for the generation process.
[in]original_path_The path to a file from which a new file is generated; may be empty.
[in]destination_path_The path to a file that must be created and where the new file is generated.
[in]conversion_String specifying the conversion applied to the original file. If conversion is "#url#" than original_path contains an HTTP/HTTPS URL of a file, which must be downloaded by the application.

Member Function Documentation

◆ get_id()

std::int32_t td::td_api::updateFileGenerationStart::get_id ( ) const
inlinefinalvirtual

Returns identifier uniquely determining a type of the object.

Returns
this->ID.

Implements td::TlObject.

◆ 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.


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