Class TdApi.Minithumbnail

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Minithumbnail
Enclosing class:
TdApi

public static class TdApi.Minithumbnail
extends TdApi.Object
Thumbnail image of a very poor quality and low resolution.
  • Field Details

    • width

      public int width
      Thumbnail width, usually doesn't exceed 40.
    • height

      public int height
      Thumbnail height, usually doesn't exceed 40.
    • data

      public byte[] data
      The thumbnail in JPEG format.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
      Constant Field Values
  • Constructor Details

    • Minithumbnail

      public Minithumbnail()
      Thumbnail image of a very poor quality and low resolution.
    • Minithumbnail

      public Minithumbnail​(int width, int height, byte[] data)
      Thumbnail image of a very poor quality and low resolution.
      Parameters:
      width - int Thumbnail width, usually doesn't exceed 40.
      height - int Thumbnail height, usually doesn't exceed 40.
      data - byte[] The thumbnail in JPEG format.
    • Minithumbnail

      public Minithumbnail​(DataInput input) throws IOException
      Throws:
      IOException
  • Method Details