Class TdApi.ChatPhotoInfo

  • Enclosing class:
    TdApi

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

      • 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
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • 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 - A small (160x160) chat photo variant in JPEG format. The file can be downloaded only before the photo is changed.
        big - A big (640x640) chat photo variant in JPEG format. The file can be downloaded only before the photo is changed.
        minithumbnail - Chat photo minithumbnail; may be null.
        hasAnimation - True, if the photo has animated variant.