Package it.tdlight.jni
Class TdApi.GetPaymentForm
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.TdApi.GetPaymentForm
- Enclosing class:
- TdApi
public static class TdApi.GetPaymentForm extends TdApi.Function
Returns an invoice payment form. This
method should be called when the user presses inlineKeyboardButtonBuy.
Returns PaymentForm
-
Field Summary
Fields Modifier and Type Field Description long
chatId
Chat identifier of the Invoice message.static int
CONSTRUCTOR
long
messageId
Message identifier.TdApi.PaymentFormTheme
theme
Preferred payment form theme. -
Constructor Summary
Constructors Constructor Description GetPaymentForm()
Returns an invoice payment form.GetPaymentForm(long chatId, long messageId, TdApi.PaymentFormTheme theme)
Returns an invoice payment form.GetPaymentForm(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
chatId
public long chatIdChat identifier of the Invoice message. -
messageId
public long messageIdMessage identifier. -
theme
Preferred payment form theme. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
GetPaymentForm
public GetPaymentForm()Returns an invoice payment form. This method should be called when the user presses inlineKeyboardButtonBuy.Returns
PaymentForm
-
GetPaymentForm
Returns an invoice payment form. This method should be called when the user presses inlineKeyboardButtonBuy.Returns
PaymentForm
- Parameters:
chatId
- long Chat identifier of the Invoice message.messageId
- long Message identifier.theme
- PaymentFormTheme Preferred payment form theme.
-
GetPaymentForm
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-