Package it.tdlight.jni
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 Summary
Fields Modifier and Type Field Description TdApi.File
big
A big (640x640) chat photo variant in JPEG format.static int
CONSTRUCTOR
boolean
hasAnimation
True, if the photo has animated variant.TdApi.File
small
A small (160x160) chat photo variant in JPEG format. -
Constructor Summary
Constructors Constructor Description ChatPhotoInfo()
Contains basic information about the photo of a chat.ChatPhotoInfo(TdApi.File small, TdApi.File big, boolean hasAnimation)
Contains basic information about the photo of a chat.ChatPhotoInfo(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
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. -
hasAnimation
public boolean hasAnimationTrue, if the photo has animated variant. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
ChatPhotoInfo
public ChatPhotoInfo()Contains basic information about the photo of a chat. -
ChatPhotoInfo
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.hasAnimation
- boolean True, if the photo has animated variant.
-
ChatPhotoInfo
- 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()
-