Inherits Function.
Checks whether a gift with next_send_date in the future can be sent already.
Returns object_ptr<CanSendGiftResult>.
Public Fields | |
int64 | gift_id_ |
Identifier of the gift to send. | |
Public Types | |
using | ReturnType = object_ptr< CanSendGiftResult > |
Typedef for the type returned by the function. | |
Public Instance Methods | |
canSendGift () | |
canSendGift (int64 gift_id_) | |
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 = 1307059830 |
Identifier uniquely determining a type of the object. | |
canSendGift | ( | ) |
Default constructor for a function, which checks whether a gift with next_send_date in the future can be sent already.
Returns object_ptr<CanSendGiftResult>.
|
explicit |
Creates a function, which checks whether a gift with next_send_date in the future can be sent already.
Returns object_ptr<CanSendGiftResult>.
[in] | gift_id_ | Identifier of the gift to send. |
|
finalvirtual |