|
tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
|
#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
Public Member Functions | |
| botMediaPreview () | |
| botMediaPreview (int32 date_, object_ptr< StoryContent > &&content_) | |
| 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 | |
| int32 | date_ |
| Point in time (Unix timestamp) when the preview was added or changed last time. | |
| object_ptr< StoryContent > | content_ |
| Content of the preview; may only be of the types storyContentPhoto, storyContentVideo, or storyContentUnsupported. | |
Static Public Attributes | |
| static const std::int32_t | ID = -1632264984 |
| Identifier uniquely determining a type of the object. | |
| td::td_api::botMediaPreview::botMediaPreview | ( | ) |
Describes media previews of a bot.
| td::td_api::botMediaPreview::botMediaPreview | ( | int32 | date_, |
| object_ptr< StoryContent > && | content_ | ||
| ) |
Describes media previews of a bot.
| [in] | date_ | Point in time (Unix timestamp) when the preview was added or changed last time. |
| [in] | content_ | Content of the preview; may only be of the types storyContentPhoto, storyContentVideo, or storyContentUnsupported. |
|
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.
| object_ptr<StoryContent> td::td_api::botMediaPreview::content_ |
Content of the preview; may only be of the types storyContentPhoto, storyContentVideo, or storyContentUnsupported.
| int32 td::td_api::botMediaPreview::date_ |
|
static |