public class TLDecryptedMessage extends TLAbsDecryptedMessage
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID
The constant CLASS_ID.
|
randomId| Constructor and Description |
|---|
TLDecryptedMessage()
Instantiates a new TL decrypted 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
|
TLAbsDecryptedMessageMedia |
getMedia()
Gets media.
|
String |
getMessage()
Gets message.
|
int |
getTtl()
Gets ttl.
|
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
void |
setMedia(TLAbsDecryptedMessageMedia media)
Sets media.
|
void |
setMessage(String message)
Sets message.
|
void |
setTtl(int ttl)
Sets ttl.
|
String |
toString()
Custom toString method
|
getRandomId, setRandomIddeserialize, serialize, serializepublic static final int CLASS_ID
public TLDecryptedMessage()
public int getClassId()
TLObjectgetClassId in class TLObjectpublic int getTtl()
public void setTtl(int ttl)
ttl - the ttlpublic String getMessage()
public void setMessage(String message)
message - the messagepublic TLAbsDecryptedMessageMedia getMedia()
public void setMedia(TLAbsDecryptedMessageMedia media)
media - the mediapublic 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.