public class TLRequestPhotosGetUserPhotos extends TLMethod<TLAbsPhotos>
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID
The constant CLASS_ID.
|
| Constructor and Description |
|---|
TLRequestPhotosGetUserPhotos()
Instantiates a new TL request photos get user photos.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deserializeBody(InputStream stream,
TLContext context)
Deserializing object from stream and context
|
TLAbsPhotos |
deserializeResponse(InputStream stream,
TLContext context) |
int |
getClassId()
Getting TL Class identification
|
int |
getLimit()
Gets limit.
|
long |
getMaxId()
Gets max id.
|
int |
getOffset()
Gets offset.
|
TLAbsInputUser |
getUserId()
Gets user id.
|
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
void |
setLimit(int value)
Sets limit.
|
void |
setMaxId(long value)
Sets max id.
|
void |
setOffset(int value)
Sets offset.
|
void |
setUserId(TLAbsInputUser value)
Sets user id.
|
String |
toString()
Custom toString method
|
castResponse, deserializeResponsedeserialize, serialize, serializepublic static final int CLASS_ID
public TLRequestPhotosGetUserPhotos()
public int getClassId()
TLObjectgetClassId in class TLObjectpublic TLAbsPhotos deserializeResponse(InputStream stream, TLContext context) throws IOException
deserializeResponse in class TLMethod<TLAbsPhotos>IOExceptionpublic TLAbsInputUser getUserId()
public void setUserId(TLAbsInputUser value)
value - the valuepublic int getOffset()
public void setOffset(int value)
value - the valuepublic long getMaxId()
public void setMaxId(long value)
value - the valuepublic int getLimit()
public void setLimit(int value)
value - the valuepublic 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.