Class TdApi.StarTransactionPartnerBot

Enclosing class:
TdApi

public static class TdApi.StarTransactionPartnerBot extends TdApi.StarTransactionPartner
The transaction is a transaction with a bot.
  • Field Details

    • userId

      public long userId
      Identifier of the bot for the user, or the user for the bot.
    • productInfo

      public TdApi.ProductInfo productInfo
      Information about the bought product; may be null if not applicable.
    • invoicePayload

      public byte[] invoicePayload
      Invoice payload; for bots only.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • StarTransactionPartnerBot

      public StarTransactionPartnerBot()
      The transaction is a transaction with a bot.
    • StarTransactionPartnerBot

      public StarTransactionPartnerBot(long userId, TdApi.ProductInfo productInfo, byte[] invoicePayload)
      The transaction is a transaction with a bot.
      Parameters:
      userId - Identifier of the bot for the user, or the user for the bot.
      productInfo - Information about the bought product; may be null if not applicable.
      invoicePayload - Invoice payload; for bots only.
  • 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