- Enclosing class:
- TdApi
Returns an invoice payment form. This
method must be called when the user presses inlineKeyboardButtonBuy.
Returns PaymentForm
-
Field Summary
Modifier and TypeFieldDescriptionlong
Chat identifier of the Invoice message.static final int
long
Message identifier.Preferred payment form theme; pass null to use the default theme. -
Constructor Summary
ConstructorDescriptionReturns an invoice payment form.GetPaymentForm
(long chatId, long messageId, TdApi.PaymentFormTheme theme) Returns an invoice payment form.GetPaymentForm
(DataInput input) Returns an invoice payment form. -
Method Summary
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; pass null to use the default theme. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
GetPaymentForm
public GetPaymentForm()Returns an invoice payment form. This method must be called when the user presses inlineKeyboardButtonBuy.Returns
PaymentForm
-
GetPaymentForm
Returns an invoice payment form. This method must 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; pass null to use the default theme.
-
GetPaymentForm
Returns an invoice payment form. This method must be called when the user presses inlineKeyboardButtonBuy.Returns
PaymentForm
- 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()
-