public class TLUpdateUserPhoto extends TLAbsUpdate
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID
The constant CLASS_ID.
|
| Constructor and Description |
|---|
TLUpdateUserPhoto()
Instantiates a new TL update user 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
|
int |
getDate()
Gets date.
|
TLAbsUserProfilePhoto |
getPhoto()
Gets photo.
|
int |
getUserId()
Gets user id.
|
boolean |
isPrevious()
Is previous.
|
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
void |
setDate(int date)
Sets date.
|
void |
setPhoto(TLAbsUserProfilePhoto photo)
Sets photo.
|
void |
setPrevious(boolean previous)
Sets previous.
|
void |
setUserId(int userId)
Sets user id.
|
String |
toString()
Custom toString method
|
getPts, getPtsCountdeserialize, serialize, serializepublic static final int CLASS_ID
public TLUpdateUserPhoto()
public int getClassId()
TLObjectgetClassId in class TLObjectpublic int getUserId()
public void setUserId(int userId)
userId - the user idpublic boolean isPrevious()
public void setPrevious(boolean previous)
previous - the previouspublic TLAbsUserProfilePhoto getPhoto()
public void setPhoto(TLAbsUserProfilePhoto photo)
photo - the photopublic int getDate()
public void setDate(int date)
date - the datepublic 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 © 2016. All rights reserved.