Package org.drinkless.tdlib
Class TdApi.ChatPhotoInfo
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.ChatPhotoInfo
- Enclosing class:
- TdApi
Contains basic information about the photo of a chat.
-
Field Summary
FieldsModifier and TypeFieldDescriptionA big (640x640) chat photo variant in JPEG format.static final intIdentifier uniquely determining type of the object.booleanTrue, if the photo has animated variant.booleanTrue, 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
ConstructorsConstructorDescriptionContains 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. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
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 CONSTRUCTORIdentifier uniquely determining type of the object.- 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- 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.isPersonal- True, if the photo is visible only for the current user.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-