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, deserializeResponse
deserialize, serialize, serialize
public static final int CLASS_ID
public TLRequestUpdatesGetDifference()
public int getClassId()
TLObject
getClassId
in class TLObject
public TLAbsDifference deserializeResponse(InputStream stream, TLContext context) throws IOException
deserializeResponse
in class TLMethod<TLAbsDifference>
IOException
public 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
TLObject
serializeBody
in class TLObject
stream
- destination streamIOException
public void deserializeBody(InputStream stream, TLContext context) throws IOException
TLObject
deserializeBody
in class TLObject
stream
- source streamcontext
- tl contextIOException
Copyright © 2016. All rights reserved.