|
TDLib
|
Inherits Object.
A document (general file) to be sent.
Public Member Functions | |
| inputDocument () | |
| inputDocument (object_ptr< InputFile > &&document_, object_ptr< inputThumbnail > &&thumbnail_, bool disable_content_type_detection_) | |
| void | store (TlStorerToString &s, const char *field_name) const final |
| Public Member Functions inherited from TlObject | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject & | operator= (TlObject &&)=default |
| virtual void | store (TlStorerCalcLength &s) const |
| virtual void | store (TlStorerUnsafe &s) const |
| TlObject ()=default | |
| TlObject (const TlObject &)=delete | |
| TlObject (TlObject &&)=default | |
| virtual | ~TlObject ()=default |
Public Attributes | |
| bool | disable_content_type_detection_ |
| Pass true to disable automatic file type detection and send the document as a file. Always true for files sent to secret chats. | |
| object_ptr< InputFile > | document_ |
| File to be sent. | |
| object_ptr< inputThumbnail > | thumbnail_ |
| Document thumbnail; pass null to skip thumbnail uploading. | |
Static Public Attributes | |
| static const std::int32_t | ID = -2054130470 |
| Identifier uniquely determining a type of the object. | |
| inputDocument | ( | ) |
A document (general file) to be sent.
| inputDocument | ( | object_ptr< InputFile > && | document_, |
| object_ptr< inputThumbnail > && | thumbnail_, | ||
| bool | disable_content_type_detection_ ) |
A document (general file) to be sent.
| [in] | document_ | File to be sent. |
| [in] | thumbnail_ | Document thumbnail; pass null to skip thumbnail uploading. |
| [in] | disable_content_type_detection_ | Pass true to disable automatic file type detection and send the document as a file. Always true for files sent to secret chats. |
|
finalvirtual |