public class TLRequestUpdatesGetDifference extends TLMethod<TLAbsDifference>
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID
The constant CLASS_ID.
|
| Constructor and Description |
|---|
TLRequestUpdatesGetDifference()
Instantiates a new TL request updates get difference.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deserializeBody(InputStream stream,
TLContext context)
Deserializing object from stream and context
|
TLAbsDifference |
deserializeResponse(InputStream stream,
TLContext context) |
int |
getClassId()
Getting TL Class identification
|
int |
getDate()
Gets date.
|
int |
getPts()
Gets pts.
|
int |
getQts()
Gets qts.
|
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
void |
setDate(int value)
Sets date.
|
void |
setPts(int value)
Sets pts.
|
void |
setQts(int value)
Sets qts.
|
String |
toString()
Custom toString method
|
castResponse, deserializeResponsedeserialize, serialize, serializepublic static final int CLASS_ID
public TLRequestUpdatesGetDifference()
public int getClassId()
TLObjectgetClassId in class TLObjectpublic TLAbsDifference deserializeResponse(InputStream stream, TLContext context) throws IOException
deserializeResponse in class TLMethod<TLAbsDifference>IOExceptionpublic int getPts()
public void setPts(int value)
value - the valuepublic int getDate()
public void setDate(int value)
value - the valuepublic int getQts()
public void setQts(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.