public static class TdApi.GetStarWithdrawalUrl extends TdApi.Function<TdApi.HttpUrl>
Returns HttpUrl
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.MessageSender |
ownerId
Identifier of the owner of the Telegram Stars; can be identifier of an owned bot, or identifier of an owned channel chat.
|
java.lang.String |
password
The 2-step verification password of the current user.
|
long |
starCount
The number of Telegram Stars to withdraw.
|
| Constructor and Description |
|---|
GetStarWithdrawalUrl()
Default constructor for a function, which returns a URL for Telegram Star withdrawal.
|
GetStarWithdrawalUrl(TdApi.MessageSender ownerId,
long starCount,
java.lang.String password)
Creates a function, which returns a URL for Telegram Star withdrawal.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic TdApi.MessageSender ownerId
public long starCount
public java.lang.String password
public static final int CONSTRUCTOR
public GetStarWithdrawalUrl()
Returns HttpUrl
public GetStarWithdrawalUrl(TdApi.MessageSender ownerId, long starCount, java.lang.String password)
Returns HttpUrl
ownerId - Identifier of the owner of the Telegram Stars; can be identifier of an owned bot, or identifier of an owned channel chat.starCount - The number of Telegram Stars to withdraw. Must be at least getOption("star_withdrawal_count_min").password - The 2-step verification password of the current user.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object