|
TDLib
|
Inherits td::td_api::InputFile.
Public Member Functions | |
| inputFileGenerated () | |
| inputFileGenerated (string const &original_path_, string const &conversion_, int53 expected_size_) | |
| 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 | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject (TlObject &&)=default | |
| TlObject & | operator= (TlObject &&)=default |
| virtual | ~TlObject ()=default |
Public Attributes | |
| string | original_path_ |
| Local path to a file from which the file is generated; may be empty if there is no such file. | |
| string | conversion_ |
| String specifying the conversion applied to the original file; must be persistent across application restarts. Conversions beginning with '#' are reserved for internal TDLib usage. | |
| int53 | expected_size_ |
| Expected size of the generated file, in bytes; 0 if unknown. | |
Static Public Attributes | |
| static const std::int32_t | ID = -1333385216 |
| Identifier uniquely determining a type of the object. | |
A file generated by the application.
| td::td_api::inputFileGenerated::inputFileGenerated | ( | ) |
A file generated by the application.
| td::td_api::inputFileGenerated::inputFileGenerated | ( | string const & | original_path_, |
| string const & | conversion_, | ||
| int53 | expected_size_ | ||
| ) |
A file generated by the application.
| [in] | original_path_ | Local path to a file from which the file is generated; may be empty if there is no such file. |
| [in] | conversion_ | String specifying the conversion applied to the original file; must be persistent across application restarts. Conversions beginning with '#' are reserved for internal TDLib usage. |
| [in] | expected_size_ | Expected size of the generated file, in bytes; 0 if unknown. |
|
inlinefinalvirtual |
Returns identifier uniquely determining a type of the object.
Implements td::TlObject.
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
| [in] | s | Storer to which object string representation will be appended. |
| [in] | field_name | Object field_name if applicable. |
Implements td::TlObject.