Inherits Object.
Describes gift types that are accepted by a user.
Public Fields | |
| bool | unlimited_gifts_ |
| True, if unlimited regular gifts are accepted. | |
| bool | limited_gifts_ |
| True, if limited regular gifts are accepted. | |
| bool | upgraded_gifts_ |
| True, if upgraded gifts and regular gifts that can be upgraded for free are accepted. | |
| bool | premium_subscription_ |
| True, if Telegram Premium subscription is accepted. | |
Public Instance Methods | |
| acceptedGiftTypes () | |
| acceptedGiftTypes (bool unlimited_gifts_, bool limited_gifts_, bool upgraded_gifts_, bool premium_subscription_) | |
| 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 = 1783521300 |
| Identifier uniquely determining a type of the object. | |
Describes gift types that are accepted by a user.
| acceptedGiftTypes | ( | bool | unlimited_gifts_, |
| bool | limited_gifts_, | ||
| bool | upgraded_gifts_, | ||
| bool | premium_subscription_ | ||
| ) |
Describes gift types that are accepted by a user.
| [in] | unlimited_gifts_ | True, if unlimited regular gifts are accepted. |
| [in] | limited_gifts_ | True, if limited regular gifts are accepted. |
| [in] | upgraded_gifts_ | True, if upgraded gifts and regular gifts that can be upgraded for free are accepted. |
| [in] | premium_subscription_ | True, if Telegram Premium subscription is accepted. |
|
finalvirtual |