Class TdApi.StarTransactionPartnerBot

Enclosing class:
TdApi

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

    • botUserId

      public long botUserId
      Identifier of the bot.
    • productInfo

      @Nullable 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 botUserId, TdApi.ProductInfo productInfo, byte[] invoicePayload)
      The transaction is a transaction with a bot.
      Parameters:
      botUserId - Identifier of the bot.
      productInfo - Information about the bought product; may be null if not applicable.
      invoicePayload - Invoice payload; for bots only.
  • Method Details