Telegram Premium was gifted to a user.
|
| | messageGiftedPremium () |
| | messageGiftedPremium (int53 gifter_user_id_, int53 receiver_user_id_, object_ptr< formattedText > &&text_, string const ¤cy_, int53 amount_, string const &cryptocurrency_, int64 cryptocurrency_amount_, int32 month_count_, int32 day_count_, object_ptr< sticker > &&sticker_) |
| void | store (TlStorerToString &s, const char *field_name) const final |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject & | operator= (TlObject &&)=default |
| virtual void | store (TlStorerCalcLength &s) const |
| virtual void | store (TlStorerUnsafe &s) const |
| | TlObject ()=default |
| | TlObject (const TlObject &)=delete |
| | TlObject (TlObject &&)=default |
| virtual | ~TlObject ()=default |
|
|
int53 | amount_ |
| | The paid amount, in the smallest units of the currency.
|
|
string | cryptocurrency_ |
| | Cryptocurrency used to pay for the gift; may be empty if none.
|
|
int64 | cryptocurrency_amount_ |
| | The paid amount, in the smallest units of the cryptocurrency; 0 if none.
|
|
string | currency_ |
| | Currency for the paid amount.
|
|
int32 | day_count_ |
| | Number of days the Telegram Premium subscription will be active.
|
|
int53 | gifter_user_id_ |
| | The identifier of a user who gifted Telegram Premium; 0 if the gift was anonymous or is outgoing.
|
|
int32 | month_count_ |
| | Number of months the Telegram Premium subscription will be active after code activation; 0 if the number of months isn't integer.
|
|
int53 | receiver_user_id_ |
| | The identifier of a user who received Telegram Premium; 0 if the gift is incoming.
|
|
object_ptr< sticker > | sticker_ |
| | A sticker to be shown in the message; may be null if unknown.
|
|
object_ptr< formattedText > | text_ |
| | Message added to the gifted Telegram Premium by the sender.
|