Package it.ernytech.tdlib
Class TdApi.ProfilePhoto
- java.lang.Object
-
- it.ernytech.tdlib.TdApi.Object
-
- it.ernytech.tdlib.TdApi.ProfilePhoto
-
- Enclosing class:
- TdApi
public static class TdApi.ProfilePhoto extends TdApi.Object
Describes a user profile photo.
-
-
Field Summary
Fields Modifier and Type Field Description TdApi.File
big
A big (640x640) user profile photo.static int
CONSTRUCTOR
Identifier uniquely determining type of the object.long
id
Photo identifier; 0 for an empty photo.TdApi.File
small
A small (160x160) user profile photo.
-
Constructor Summary
Constructors Constructor Description ProfilePhoto()
Default constructor.ProfilePhoto(long id, TdApi.File small, TdApi.File big)
Constructor for initialization of all fields.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getConstructor()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from class it.ernytech.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
id
public long id
Photo identifier; 0 for an empty photo. Can be used to find a photo in a list of userProfilePhotos.
-
small
public TdApi.File small
A small (160x160) user profile photo.
-
big
public TdApi.File big
A big (640x640) user profile photo.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ProfilePhoto
public ProfilePhoto()
Default constructor.
-
ProfilePhoto
public ProfilePhoto(long id, TdApi.File small, TdApi.File big)
Constructor for initialization of all fields.- Parameters:
id
- Photo identifier; 0 for an empty photo. Can be used to find a photo in a list of userProfilePhotos.small
- A small (160x160) user profile photo.big
- A big (640x640) user profile photo.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-
-