Class TdApi.PhotoSize

  • Enclosing class:
    TdApi

    public static class TdApi.PhotoSize
    extends TdApi.Object
    Photo description.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      int height
      Photo height.
      TdApi.File photo
      Information about the photo file.
      java.lang.String type
      Thumbnail type (see https://core.telegram.org/constructor/photoSize).
      int width
      Photo width.
    • Constructor Summary

      Constructors 
      Constructor Description
      PhotoSize()
      Default constructor.
      PhotoSize​(java.lang.String type, TdApi.File photo, int width, int height)
      Constructor for initialization of all fields.
    • Field Detail

      • type

        public java.lang.String type
        Thumbnail type (see https://core.telegram.org/constructor/photoSize).
      • photo

        public TdApi.File photo
        Information about the photo file.
      • width

        public int width
        Photo width.
      • height

        public int height
        Photo height.
      • CONSTRUCTOR

        public static final int CONSTRUCTOR
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • PhotoSize

        public PhotoSize()
        Default constructor.
      • PhotoSize

        public PhotoSize​(java.lang.String type,
                         TdApi.File photo,
                         int width,
                         int height)
        Constructor for initialization of all fields.
        Parameters:
        type - Thumbnail type (see https://core.telegram.org/constructor/photoSize).
        photo - Information about the photo file.
        width - Photo width.
        height - Photo height.