public static class TdApi.GetStarGiftPaymentOptions extends TdApi.Function<TdApi.StarPaymentOptions>
Returns StarPaymentOptions
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
long |
userId
Identifier of the user that will receive Telegram Stars; pass 0 to get options for an unspecified user.
|
| Constructor and Description |
|---|
GetStarGiftPaymentOptions()
Default constructor for a function, which returns available options for Telegram Stars gifting.
|
GetStarGiftPaymentOptions(long userId)
Creates a function, which returns available options for Telegram Stars gifting.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long userId
public static final int CONSTRUCTOR
public GetStarGiftPaymentOptions()
Returns StarPaymentOptions
public GetStarGiftPaymentOptions(long userId)
Returns StarPaymentOptions
userId - Identifier of the user that will receive Telegram Stars; pass 0 to get options for an unspecified user.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object