Inherits Object.
Contains settings for gift receiving for a user.
Public Fields | |
bool | show_gift_button_ |
True, if a button for sending a gift to the user or by the user must always be shown in the input field. | |
object_ptr< acceptedGiftTypes > | accepted_gift_types_ |
Types of gifts accepted by the user; for Telegram Premium users only. | |
Public Instance Methods | |
giftSettings () | |
giftSettings (bool show_gift_button_, object_ptr< acceptedGiftTypes > &&accepted_gift_types_) | |
void | store (TlStorerToString &s, const char *field_name) const final |
![]() | |
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 = 45783168 |
Identifier uniquely determining a type of the object. | |
giftSettings | ( | ) |
Contains settings for gift receiving for a user.
giftSettings | ( | bool | show_gift_button_, |
object_ptr< acceptedGiftTypes > && | accepted_gift_types_ | ||
) |
Contains settings for gift receiving for a user.
[in] | show_gift_button_ | True, if a button for sending a gift to the user or by the user must always be shown in the input field. |
[in] | accepted_gift_types_ | Types of gifts accepted by the user; for Telegram Premium users only. |
|
finalvirtual |