public class TLUpdatesState extends TLObject
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID
The constant CLASS_ID.
|
| Constructor and Description |
|---|
TLUpdatesState()
Instantiates a new TL updates state.
|
| 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.
|
int |
getPts()
Gets pts.
|
int |
getQts()
Gets qts.
|
int |
getSeq()
Gets seq.
|
int |
getUnreadCount()
Gets unread count.
|
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.
|
void |
setSeq(int value)
Sets seq.
|
void |
setUnreadCount(int value)
Sets unread count.
|
String |
toString()
Custom toString method
|
deserialize, serialize, serializepublic static final int CLASS_ID
public int getClassId()
TLObjectgetClassId in class TLObjectpublic int getPts()
public void setPts(int value)
value - the valuepublic int getQts()
public void setQts(int value)
value - the valuepublic int getDate()
public void setDate(int value)
value - the valuepublic int getSeq()
public void setSeq(int value)
value - the valuepublic int getUnreadCount()
public void setUnreadCount(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 © 2017. All rights reserved.