Module tdlight.api

Class TdApi.ChatPhotoInfo

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

public static class TdApi.ChatPhotoInfo extends TdApi.Object
Contains basic information about the photo of a chat.
  • Field Details

    • small

      public TdApi.File small
      A small (160x160) chat photo variant in JPEG format. The file can be downloaded only before the photo is changed.
    • big

      public TdApi.File big
      A big (640x640) chat photo variant in JPEG format. The file can be downloaded only before the photo is changed.
    • minithumbnail

      public TdApi.Minithumbnail minithumbnail
      Chat photo minithumbnail; may be null.
    • hasAnimation

      public boolean hasAnimation
      True, if the photo has animated variant.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • ChatPhotoInfo

      public ChatPhotoInfo()
      Contains basic information about the photo of a chat.
    • ChatPhotoInfo

      public ChatPhotoInfo(TdApi.File small, TdApi.File big, TdApi.Minithumbnail minithumbnail, boolean hasAnimation)
      Contains basic information about the photo of a chat.
      Parameters:
      small - File A small (160x160) chat photo variant in JPEG format. The file can be downloaded only before the photo is changed.
      big - File A big (640x640) chat photo variant in JPEG format. The file can be downloaded only before the photo is changed.
      minithumbnail - Minithumbnail Chat photo minithumbnail; may be null.
      hasAnimation - boolean True, if the photo has animated variant.
    • ChatPhotoInfo

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