Inherits MessageContent.
A message with paid media.
Public Fields | |
int53 | star_count_ |
Number of Telegram Stars needed to buy access to the media in the message. | |
array< object_ptr< PaidMedia > > | media_ |
Information about the media. | |
object_ptr< formattedText > | caption_ |
Media caption. | |
bool | show_caption_above_media_ |
True, if the caption must be shown above the media; otherwise, the caption must be shown below the media. | |
Public Instance Methods | |
messagePaidMedia () | |
messagePaidMedia (int53 star_count_, array< object_ptr< PaidMedia >> &&media_, object_ptr< formattedText > &&caption_, bool show_caption_above_media_) | |
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 = -724750073 |
Identifier uniquely determining a type of the object. | |
messagePaidMedia | ( | ) |
A message with paid media.
messagePaidMedia | ( | int53 | star_count_, |
array< object_ptr< PaidMedia >> && | media_, | ||
object_ptr< formattedText > && | caption_, | ||
bool | show_caption_above_media_ | ||
) |
A message with paid media.
[in] | star_count_ | Number of Telegram Stars needed to buy access to the media in the message. |
[in] | media_ | Information about the media. |
[in] | caption_ | Media caption. |
[in] | show_caption_above_media_ | True, if the caption must be shown above the media; otherwise, the caption must be shown below the media. |
|
finalvirtual |