Class TdApi.ChatPhotoInfo
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.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
Identifier uniquely determining type of the object.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. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.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.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-