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, getPtsCount
deserialize, serialize, serialize
public static final int CLASS_ID
public TLUpdateNewEncryptedMessage()
public int getClassId()
TLObject
getClassId
in class TLObject
public 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
TLObject
serializeBody
in class TLObject
stream
- destination streamIOException
public void deserializeBody(InputStream stream, TLContext context) throws IOException
TLObject
deserializeBody
in class TLObject
stream
- source streamcontext
- tl contextIOException
Copyright © 2016. All rights reserved.