java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.ChatPhotoInfo
- Enclosing class:
- TdApi
Contains basic information about the
photo of a chat.
-
Field Summary
Modifier and TypeFieldDescriptionA big (640x640) chat photo variant in JPEG format.static final int
boolean
True, if the photo has animated variant.boolean
True, if the photo is visible only for the current user.Chat photo minithumbnail; may be null.A small (160x160) chat photo variant in JPEG format. -
Constructor Summary
ConstructorDescriptionContains basic information about the photo of a chat.ChatPhotoInfo
(TdApi.File small, TdApi.File big, TdApi.Minithumbnail minithumbnail, boolean hasAnimation, boolean isPersonal) Contains basic information about the photo of a chat.ChatPhotoInfo
(DataInput input) Contains basic information about the photo of a chat. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
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
public boolean hasAnimationTrue, if the photo has animated variant. -
isPersonal
public boolean isPersonalTrue, if the photo is visible only for the current user. -
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, boolean isPersonal) 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.isPersonal
- boolean True, if the photo is visible only for the current user.
-
ChatPhotoInfo
Contains basic information about the photo of a chat.- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-