public class TLUpdatesChannelDifferences extends TLAbsUpdatesChannelDifferences
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID
The constant CLASS_ID.
|
flags, pts, timeout| Constructor and Description |
|---|
TLUpdatesChannelDifferences()
Instantiates a new TL updates channel differences.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deserializeBody(InputStream stream,
TLContext context)
Deserializing object from stream and context
|
TLVector<TLAbsChat> |
getChats() |
int |
getClassId()
Getting TL Class identification
|
TLVector<TLAbsMessage> |
getNewMessages() |
TLVector<TLAbsUpdate> |
getOtherUpdates() |
TLVector<TLAbsUser> |
getUsers() |
boolean |
isFinal() |
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
void |
setChats(TLVector<TLAbsChat> chats) |
void |
setNewMessages(TLVector<TLAbsMessage> newMessages) |
void |
setOtherUpdates(TLVector<TLAbsUpdate> otherUpdates) |
void |
setUsers(TLVector<TLAbsUser> users) |
String |
toString()
Custom toString method
|
getFlags, getPts, getTimeout, setFlags, setPts, setTimeoutdeserialize, serialize, serializepublic static final int CLASS_ID
public TLUpdatesChannelDifferences()
public int getClassId()
TLObjectgetClassId in class TLObjectpublic TLVector<TLAbsMessage> getNewMessages()
public void setNewMessages(TLVector<TLAbsMessage> newMessages)
public TLVector<TLAbsUpdate> getOtherUpdates()
public void setOtherUpdates(TLVector<TLAbsUpdate> otherUpdates)
public boolean isFinal()
public 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.