Inherits PaidMedia.
The media is hidden until the invoice is paid.
Public Fields | |
| int32 | width_ |
| Media width; 0 if unknown. | |
| int32 | height_ |
| Media height; 0 if unknown. | |
| int32 | duration_ |
| Media duration, in seconds; 0 if unknown. | |
| object_ptr< minithumbnail > | minithumbnail_ |
| Media minithumbnail; may be null. | |
Public Instance Methods | |
| paidMediaPreview () | |
| paidMediaPreview (int32 width_, int32 height_, int32 duration_, object_ptr< minithumbnail > &&minithumbnail_) | |
| 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 = -1128151948 |
| Identifier uniquely determining a type of the object. | |
| paidMediaPreview | ( | ) |
The media is hidden until the invoice is paid.
| paidMediaPreview | ( | int32 | width_, |
| int32 | height_, | ||
| int32 | duration_, | ||
| object_ptr< minithumbnail > && | minithumbnail_ | ||
| ) |
The media is hidden until the invoice is paid.
| [in] | width_ | Media width; 0 if unknown. |
| [in] | height_ | Media height; 0 if unknown. |
| [in] | duration_ | Media duration, in seconds; 0 if unknown. |
| [in] | minithumbnail_ | Media minithumbnail; may be null. |
|
finalvirtual |