public class TLUpdateShortChatMessage extends TLAbsUpdates
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID
The constant CLASS_ID.
|
| Constructor and Description |
|---|
TLUpdateShortChatMessage()
Instantiates a new TL update short chat message.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deserializeBody(InputStream stream,
TLContext context)
Deserializing object from stream and context
|
int |
getChatId()
Gets chat id.
|
int |
getClassId()
Getting TL Class identification
|
int |
getDate()
Gets date.
|
TLVector<TLAbsMessageEntity> |
getEntities() |
int |
getFlags()
Gets flags.
|
int |
getFromId()
Gets from id.
|
TLMessageFwdHeader |
getFwdFrom() |
int |
getId()
Gets id.
|
String |
getMessage()
Gets message.
|
int |
getPts()
Gets pts.
|
int |
getPtsCount()
Gets pts count.
|
int |
getReplyToMsgId()
Gets reply to msg id.
|
boolean |
hasEntities() |
boolean |
isForwarded() |
boolean |
isMention() |
boolean |
isSent()
Is sent.
|
boolean |
isUnreadContent() |
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
void |
setChatId(int chatId)
Sets chat id.
|
void |
setDate(int date)
Sets date.
|
void |
setEntities(TLVector<TLAbsMessageEntity> entities) |
void |
setFlags(int flags)
Sets flags.
|
void |
setFromId(int fromId)
Sets from id.
|
void |
setFwdFrom(TLMessageFwdHeader fwdFrom) |
void |
setId(int id)
Sets id.
|
void |
setMessage(String message)
Sets message.
|
void |
setPts(int pts)
Sets pts.
|
void |
setPtsCount(int ptsCount)
Sets pts count.
|
void |
setReplyToMsgId(int replyToMsgId)
Sets reply to msg id.
|
String |
toString()
Custom toString method
|
deserialize, serialize, serializepublic static final int CLASS_ID
public TLUpdateShortChatMessage()
public int getFromId()
public void setFromId(int fromId)
fromId - the from idpublic int getChatId()
public void setChatId(int chatId)
chatId - the chat idpublic String getMessage()
public void setMessage(String message)
message - the messagepublic int getPts()
public void setPts(int pts)
pts - the ptspublic int getDate()
public void setDate(int date)
date - the datepublic int getId()
public void setId(int id)
id - the idpublic int getPtsCount()
public void setPtsCount(int ptsCount)
ptsCount - the pts countpublic int getFlags()
public void setFlags(int flags)
flags - the flagspublic TLMessageFwdHeader getFwdFrom()
public void setFwdFrom(TLMessageFwdHeader fwdFrom)
public int getReplyToMsgId()
public void setReplyToMsgId(int replyToMsgId)
replyToMsgId - the reply to msg idpublic TLVector<TLAbsMessageEntity> getEntities()
public void setEntities(TLVector<TLAbsMessageEntity> entities)
public int getClassId()
TLObjectgetClassId in class TLObjectpublic boolean isMention()
public boolean isSent()
public boolean isUnreadContent()
public boolean isForwarded()
public boolean hasEntities()
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.