Package org.drinkless.tdlib
Class TdApi.GetPaymentForm
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Function
-
- org.drinkless.tdlib.TdApi.GetPaymentForm
-
- Enclosing class:
- TdApi
public static class TdApi.GetPaymentForm extends TdApi.Function
Returns an invoice payment form. This method must be called when the user presses inlineKeyboardButtonBuy.Returns
PaymentForm
-
-
Field Summary
Fields Modifier and Type Field Description longchatIdChat identifier of the Invoice message.static intCONSTRUCTORIdentifier uniquely determining type of the object.longmessageIdMessage identifier.TdApi.PaymentFormThemethemePreferred payment form theme; pass null to use the default theme.
-
Constructor Summary
Constructors Constructor Description GetPaymentForm()Default constructor for a function, which returns an invoice payment form.GetPaymentForm(long chatId, long messageId, TdApi.PaymentFormTheme theme)Creates a function, which returns an invoice payment form.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
-
-
-
Field Detail
-
chatId
public long chatId
Chat identifier of the Invoice message.
-
messageId
public long messageId
Message identifier.
-
theme
public TdApi.PaymentFormTheme theme
Preferred payment form theme; pass null to use the default theme.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GetPaymentForm
public GetPaymentForm()
Default constructor for a function, which returns an invoice payment form. This method must be called when the user presses inlineKeyboardButtonBuy.Returns
PaymentForm
-
GetPaymentForm
public GetPaymentForm(long chatId, long messageId, TdApi.PaymentFormTheme theme)Creates a function, which returns an invoice payment form. This method must be called when the user presses inlineKeyboardButtonBuy.Returns
PaymentForm- Parameters:
chatId- Chat identifier of the Invoice message.messageId- Message identifier.theme- Preferred payment form theme; pass null to use the default theme.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-