public class TLMessageFwdHeader extends TLObject
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID |
| Constructor and Description |
|---|
TLMessageFwdHeader() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserializeBody(InputStream stream,
TLContext context)
Deserializing object from stream and context
|
int |
getChannelId() |
int |
getChannelPost() |
int |
getClassId()
Getting TL Class identification
|
int |
getDate() |
int |
getFromId() |
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
void |
setChannelId(int channelId) |
void |
setChannelPost(int channelPost) |
void |
setDate(int date) |
void |
setFromId(int fromId) |
String |
toString()
Custom toString method
|
deserialize, serialize, serializepublic static final int CLASS_ID
public int getClassId()
TLObjectgetClassId in class TLObjectpublic int getFromId()
public void setFromId(int fromId)
public int getDate()
public void setDate(int date)
public int getChannelId()
public void setChannelId(int channelId)
public int getChannelPost()
public void setChannelPost(int channelPost)
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.