public class TLUpdateChannelNewMessage extends TLAbsUpdate implements TLChannelUpdate
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID
The constant CLASS_ID.
|
| Constructor and Description |
|---|
TLUpdateChannelNewMessage()
Instantiates a new TL update channel new message
|
| Modifier and Type | Method and Description |
|---|---|
void |
deserializeBody(InputStream stream,
TLContext context)
Deserializing object from stream and context
|
int |
getChannelId() |
int |
getClassId()
Getting TL Class identification
|
TLAbsMessage |
getMessage() |
int |
getPts() |
int |
getPtsCount() |
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
void |
setMessage(TLAbsMessage message) |
void |
setPts(int pts) |
void |
setPtsCount(int ptsCount) |
String |
toString()
Custom toString method
|
deserialize, serialize, serializepublic static final int CLASS_ID
public TLUpdateChannelNewMessage()
public int getClassId()
TLObjectgetClassId in class TLObjectpublic TLAbsMessage getMessage()
public void setMessage(TLAbsMessage message)
public int getPts()
getPts in class TLAbsUpdatepublic void setPts(int pts)
public int getPtsCount()
getPtsCount in class TLAbsUpdatepublic void setPtsCount(int ptsCount)
public int getChannelId()
getChannelId in interface TLChannelUpdatepublic 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.