Inherits Function.
Returns a URL for Telegram star withdrawal.
Returns object_ptr<HttpUrl>.
Public Fields | |
object_ptr< MessageSender > | owner_id_ |
Identifier of the owner of the Telegram stars; can be identifier of an owned bot, or identifier of an owned channel chat. | |
int53 | star_count_ |
The number of Telegram stars to withdraw. Must be at least getOption("star_withdrawal_count_min"). | |
string | password_ |
The 2-step verification password of the current user. | |
Public Types | |
using | ReturnType = object_ptr< httpUrl > |
Typedef for the type returned by the function. | |
Public Instance Methods | |
getStarWithdrawalUrl () | |
getStarWithdrawalUrl (object_ptr< MessageSender > &&owner_id_, int53 star_count_, string const &password_) | |
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 = -1445841134 |
Identifier uniquely determining a type of the object. | |
Default constructor for a function, which returns a URL for Telegram star withdrawal.
Returns object_ptr<HttpUrl>.
getStarWithdrawalUrl | ( | object_ptr< MessageSender > && | owner_id_, |
int53 | star_count_, | ||
string const & | password_ | ||
) |
Creates a function, which returns a URL for Telegram star withdrawal.
Returns object_ptr<HttpUrl>.
[in] | owner_id_ | Identifier of the owner of the Telegram stars; can be identifier of an owned bot, or identifier of an owned channel chat. |
[in] | star_count_ | The number of Telegram stars to withdraw. Must be at least getOption("star_withdrawal_count_min"). |
[in] | password_ | The 2-step verification password of the current user. |
|
finalvirtual |