Inherits PushMessageContent.
A message with a Telegram Premium gift code created for the user.
Public Fields | |
int32 | month_count_ |
Number of months the Telegram Premium subscription will be active after code activation. | |
Public Instance Methods | |
pushMessageContentPremiumGiftCode () | |
pushMessageContentPremiumGiftCode (int32 month_count_) | |
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 = 413224997 |
Identifier uniquely determining a type of the object. | |
A message with a Telegram Premium gift code created for the user.
|
explicit |
A message with a Telegram Premium gift code created for the user.
[in] | month_count_ | Number of months the Telegram Premium subscription will be active after code activation. |
|
finalvirtual |