public class TLUserProfilePhoto extends TLAbsUserProfilePhoto
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID
The constant CLASS_ID.
|
| Constructor and Description |
|---|
TLUserProfilePhoto()
Instantiates a new TL user profile photo.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deserializeBody(InputStream stream,
TLContext context)
Deserializing object from stream and context
|
int |
getClassId()
Getting TL Class identification
|
TLAbsFileLocation |
getPhotoBig()
Gets photo big.
|
long |
getPhotoId()
Gets photo id.
|
TLAbsFileLocation |
getPhotoSmall()
Gets photo small.
|
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
void |
setPhotoBig(TLAbsFileLocation photoBig)
Sets photo big.
|
void |
setPhotoId(long photoId)
Sets photo id.
|
void |
setPhotoSmall(TLAbsFileLocation photoSmall)
Sets photo small.
|
String |
toString()
Custom toString method
|
deserialize, serialize, serializepublic static final int CLASS_ID
public TLUserProfilePhoto()
public int getClassId()
TLObjectgetClassId in class TLObjectpublic long getPhotoId()
public void setPhotoId(long photoId)
photoId - the photo idpublic TLAbsFileLocation getPhotoSmall()
public void setPhotoSmall(TLAbsFileLocation photoSmall)
photoSmall - the photo smallpublic TLAbsFileLocation getPhotoBig()
public void setPhotoBig(TLAbsFileLocation photoBig)
photoBig - the photo bigpublic void serializeBody(OutputStream stream) throws IOException
TLObjectserializeBody in class TLObjectstream - destination streamIOExceptionpublic void deserializeBody(InputStream stream, TLContext context) throws IOException
TLObjectdeserializeBody in class TLObjectstream - source streamcontext - tl contextIOExceptionCopyright © 2017. All rights reserved.