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 TypeFieldDescriptionlongChat identifier of the message.static final intIdentifier uniquely determining type of the object.longMessage 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 TypeMethodDescriptionintReturns 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.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-