public class TLUpdates extends TLAbsUpdates
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID
The constant CLASS_ID.
|
| Constructor and Description |
|---|
TLUpdates()
Instantiates a new TL updates.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deserializeBody(InputStream stream,
TLContext context)
Deserializing object from stream and context
|
TLVector<TLAbsChat> |
getChats()
Gets chats.
|
int |
getClassId()
Getting TL Class identification
|
int |
getDate()
Gets date.
|
int |
getSeq()
Gets seq.
|
TLVector<TLAbsUpdate> |
getUpdates()
Gets updates.
|
TLVector<TLAbsUser> |
getUsers()
Gets users.
|
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
void |
setChats(TLVector<TLAbsChat> chats)
Sets chats.
|
void |
setDate(int date)
Sets date.
|
void |
setSeq(int seq)
Sets seq.
|
void |
setUpdates(TLVector<TLAbsUpdate> updates)
Sets updates.
|
void |
setUsers(TLVector<TLAbsUser> users)
Sets users.
|
String |
toString()
Custom toString method
|
deserialize, serialize, serializepublic static final int CLASS_ID
public TLVector<TLAbsUpdate> getUpdates()
public void setUpdates(TLVector<TLAbsUpdate> updates)
updates - the updatespublic int getDate()
public void setDate(int date)
date - the datepublic int getSeq()
public void setSeq(int seq)
seq - the seqpublic int getClassId()
TLObjectgetClassId in class TLObjectpublic 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.