Inherits MessageContent.
A suggested post was published for getOption("suggested_post_lifetime_min") seconds and payment for the post was received.
Public Fields | |
| int53 | suggested_post_message_id_ |
| Identifier of the message with the suggested post; can be 0 if the message was deleted. | |
| object_ptr< starAmount > | star_amount_ |
| The amount of received Telegram Stars. | |
| int53 | ton_amount_ |
| The amount of received Toncoins; in the smallest units of the cryptocurrency. | |
Public Instance Methods | |
| messageSuggestedPostPaid () | |
| messageSuggestedPostPaid (int53 suggested_post_message_id_, object_ptr< starAmount > &&star_amount_, int53 ton_amount_) | |
| 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 = 1575439273 |
| Identifier uniquely determining a type of the object. | |
A suggested post was published for getOption("suggested_post_lifetime_min") seconds and payment for the post was received.
| messageSuggestedPostPaid | ( | int53 | suggested_post_message_id_, |
| object_ptr< starAmount > && | star_amount_, | ||
| int53 | ton_amount_ | ||
| ) |
A suggested post was published for getOption("suggested_post_lifetime_min") seconds and payment for the post was received.
| [in] | suggested_post_message_id_ | Identifier of the message with the suggested post; can be 0 if the message was deleted. |
| [in] | star_amount_ | The amount of received Telegram Stars. |
| [in] | ton_amount_ | The amount of received Toncoins; in the smallest units of the cryptocurrency. |
|
finalvirtual |