public class TLDecryptedMessageService extends TLAbsDecryptedMessage
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID
The constant CLASS_ID.
|
randomId| Constructor and Description |
|---|
TLDecryptedMessageService()
Instantiates a new TL decrypted message service.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deserializeBody(InputStream stream,
TLContext context)
Deserializing object from stream and context
|
TLDecryptedMessageAction |
getAction()
Gets action.
|
int |
getClassId()
Getting TL Class identification
|
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
void |
setAction(TLDecryptedMessageAction action)
Sets action.
|
String |
toString()
Custom toString method
|
getRandomId, setRandomIddeserialize, serialize, serializepublic static final int CLASS_ID
public TLDecryptedMessageService()
public int getClassId()
TLObjectgetClassId in class TLObjectpublic TLDecryptedMessageAction getAction()
public void setAction(TLDecryptedMessageAction action)
action - the actionpublic 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.