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 Summary

    Fields
    Modifier and Type
    Field
    Description
    long
    Chat identifier of the message.
    static final int
    Identifier uniquely determining type of the object.
    long
    Message identifier.
  • Constructor Summary

    Constructors
    Constructor
    Description
    An 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 Type
    Method
    Description
    int
    Returns an identifier uniquely determining type of the object.

    Methods inherited from class org.drinkless.tdlib.TdApi.Object

    toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • 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.Object
      Returns:
      this.CONSTRUCTOR