Class TdApi.ProductInfo

java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.ProductInfo
Enclosing class:
TdApi

public static class TdApi.ProductInfo extends TdApi.Object
Contains information about a product that can be paid with invoice.
  • Field Details

    • title

      public String title
      Product title.
    • description

      public TdApi.FormattedText description
      Product description.
    • photo

      public TdApi.Photo photo
      Product photo; may be null.
    • CONSTRUCTOR

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

    • ProductInfo

      public ProductInfo()
      Contains information about a product that can be paid with invoice.
    • ProductInfo

      public ProductInfo(String title, TdApi.FormattedText description, TdApi.Photo photo)
      Contains information about a product that can be paid with invoice.
      Parameters:
      title - Product title.
      description - Product description.
      photo - Product photo; may be null.
  • 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