Class TdApi.InputInvoiceMessage

Enclosing class:
TdApi

public static class TdApi.InputInvoiceMessage extends TdApi.InputInvoice
An invoice from a message of the type messageInvoice or paid media purchase from messagePaidMedia.
  • Field Details

    • chatId

      public long chatId
      Chat identifier of the message.
    • messageId

      public long messageId
      Message identifier. Use messageProperties.canBePaid to check whether the message can be used in the method.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier 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 class TdApi.InputInvoice
      Returns:
      this.CONSTRUCTOR