public class TLUpdateShortSentMessage extends TLAbsUpdates
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID
The constant CLASS_ID.
|
| Constructor and Description |
|---|
TLUpdateShortSentMessage()
Instantiates a new TL update short sent message.
|
| 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.
|
TLVector<TLAbsMessageEntity> |
getEntities() |
int |
getFlags()
Gets flags.
|
int |
getId()
Gets id.
|
TLAbsMessageMedia |
getMedia() |
int |
getPts()
Gets pts.
|
int |
getPtsCount()
Gets pts count.
|
boolean |
hasMedia() |
boolean |
isSent()
Is sent.
|
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
void |
setDate(int date)
Sets date.
|
void |
setEntities(TLVector<TLAbsMessageEntity> entities) |
void |
setFlags(int flags)
Sets flags.
|
void |
setId(int id)
Sets id.
|
void |
setMedia(TLAbsMessageMedia media) |
void |
setPts(int pts)
Sets pts.
|
void |
setPtsCount(int ptsCount)
Sets pts count.
|
String |
toString()
Custom toString method
|
deserialize, serialize, serializepublic static final int CLASS_ID
public TLUpdateShortSentMessage()
public int getId()
public void setId(int id)
id - the idpublic int getPts()
public void setPts(int pts)
pts - the ptspublic int getDate()
public void setDate(int date)
date - the datepublic int getFlags()
public void setFlags(int flags)
flags - the flagspublic int getPtsCount()
public void setPtsCount(int ptsCount)
ptsCount - the pts countpublic TLVector<TLAbsMessageEntity> getEntities()
public void setEntities(TLVector<TLAbsMessageEntity> entities)
public TLAbsMessageMedia getMedia()
public void setMedia(TLAbsMessageMedia media)
public boolean hasMedia()
public boolean isSent()
public 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.