Package org.drinkless.tdlib
Class TdApi.InputInvoiceMessage
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.InputInvoice
org.drinkless.tdlib.TdApi.InputInvoiceMessage
- Enclosing class:
- TdApi
An invoice from a message of the type messageInvoice or paid media purchase from messagePaidMedia.
-
Field Summary
FieldsModifier and TypeFieldDescriptionlong
Chat identifier of the message.static final int
Identifier uniquely determining type of the object.long
Message identifier. -
Constructor Summary
ConstructorsConstructorDescriptionAn invoice from a message of the type messageInvoice or paid media purchase from messagePaidMedia.InputInvoiceMessage
(long chatId, long messageId) An invoice from a message of the type messageInvoice or paid media purchase from messagePaidMedia. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
chatId
public long chatIdChat identifier of the message. -
messageId
public long messageIdMessage identifier. Use messageProperties.canBePaid to check whether the message can be used in the method. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
InputInvoiceMessage
public InputInvoiceMessage()An invoice from a message of the type messageInvoice or paid media purchase from messagePaidMedia. -
InputInvoiceMessage
public InputInvoiceMessage(long chatId, long messageId) An invoice from a message of the type messageInvoice or paid media purchase from messagePaidMedia.- Parameters:
chatId
- Chat identifier of the message.messageId
- Message identifier. Use messageProperties.canBePaid to check whether the message can be used in the method.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-