#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
|
| static const std::int32_t | ID = -1357271080 |
| | Identifier uniquely determining a type of the object.
|
| |
Describes a document of any type.
Definition at line 19199 of file td_api.h.
◆ document() [1/2]
| td::td_api::document::document |
( |
| ) |
|
Describes a document of any type.
◆ document() [2/2]
Describes a document of any type.
- Parameters
-
| [in] | file_name_ | Original name of the file; as defined by the sender. |
| [in] | mime_type_ | MIME type of the file; as defined by the sender. |
| [in] | minithumbnail_ | Document minithumbnail; may be null. |
| [in] | thumbnail_ | Document thumbnail in JPEG or PNG format (PNG will be used only for background patterns); as defined by the sender; may be null. |
| [in] | document_ | File containing the document. |
◆ store()
| void td::td_api::document::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] | s | Storer to which object string representation will be appended. |
| [in] | field_name | Object field_name if applicable. |
Implements td::TlObject.
◆ document_
File containing the document.
Definition at line 19218 of file td_api.h.
◆ file_name_
| string td::td_api::document::file_name_ |
Original name of the file; as defined by the sender.
Definition at line 19210 of file td_api.h.
◆ ID
| const std::int32_t td::td_api::document::ID = -1357271080 |
|
static |
Identifier uniquely determining a type of the object.
Definition at line 19237 of file td_api.h.
◆ mime_type_
| string td::td_api::document::mime_type_ |
MIME type of the file; as defined by the sender.
Definition at line 19212 of file td_api.h.
◆ minithumbnail_
Document minithumbnail; may be null.
Definition at line 19214 of file td_api.h.
◆ thumbnail_
Document thumbnail in JPEG or PNG format (PNG will be used only for background patterns); as defined by the sender; may be null.
Definition at line 19216 of file td_api.h.
The documentation for this class was generated from the following file:
- /home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h