public static class TdApi.ProfilePhoto extends TdApi.Object
Modifier and Type | Field and Description |
---|---|
TdApi.File |
big
A big (640x640) user profile photo.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
hasAnimation
True, if the photo has animated variant.
|
long |
id
Photo identifier; 0 for an empty photo.
|
TdApi.Minithumbnail |
minithumbnail
User profile photo minithumbnail; may be null.
|
TdApi.File |
small
A small (160x160) user profile photo.
|
Constructor and Description |
---|
ProfilePhoto()
Describes a user profile photo.
|
ProfilePhoto(long id,
TdApi.File small,
TdApi.File big,
TdApi.Minithumbnail minithumbnail,
boolean hasAnimation)
Describes a user profile photo.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public long id
public TdApi.File small
public TdApi.File big
@Nullable public TdApi.Minithumbnail minithumbnail
public boolean hasAnimation
public static final int CONSTRUCTOR
public ProfilePhoto()
public ProfilePhoto(long id, TdApi.File small, TdApi.File big, TdApi.Minithumbnail minithumbnail, boolean hasAnimation)
id
- Photo identifier; 0 for an empty photo. Can be used to find a photo in a list of user profile photos.small
- A small (160x160) user profile photo. The file can be downloaded only before the photo is changed.big
- A big (640x640) user profile photo. The file can be downloaded only before the photo is changed.minithumbnail
- User profile photo minithumbnail; may be null.hasAnimation
- True, if the photo has animated variant.public int getConstructor()
getConstructor
in class TdApi.Object