Inherits Object.
Describes media previews of a bot.
Public Fields | |
int32 | date_ |
Point in time (Unix timestamp) when the preview was added or changed last time. | |
object_ptr< StoryContent > | content_ |
Content of the preview. | |
Public Instance Methods | |
botMediaPreview () | |
botMediaPreview (int32 date_, object_ptr< StoryContent > &&content_) | |
void | store (TlStorerToString &s, const char *field_name) const final |
Public Instance Methods inherited from 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 |
Static Public Attributes | |
static const std::int32_t | ID = -1632264984 |
Identifier uniquely determining a type of the object. | |
botMediaPreview | ( | ) |
Describes media previews of a bot.
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. |
|
finalvirtual |