public class TLUpdateNewEncryptedMessage extends TLAbsUpdate
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID
The constant CLASS_ID.
|
| Constructor and Description |
|---|
TLUpdateNewEncryptedMessage()
Instantiates a new TL update new encrypted 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
|
TLAbsEncryptedMessage |
getMessage()
Gets message.
|
int |
getQts()
Gets qts.
|
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
void |
setMessage(TLAbsEncryptedMessage message)
Sets message.
|
void |
setQts(int qts)
Sets qts.
|
String |
toString()
Custom toString method
|
getPts, getPtsCountdeserialize, serialize, serializepublic static final int CLASS_ID
public TLUpdateNewEncryptedMessage()
public int getClassId()
TLObjectgetClassId in class TLObjectpublic int getQts()
public void setQts(int qts)
qts - the qtspublic TLAbsEncryptedMessage getMessage()
public void setMessage(TLAbsEncryptedMessage message)
message - the messagepublic 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.