public class TLDecryptedMessageMediaDocument extends TLAbsDecryptedMessageMedia
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID
The constant CLASS_ID.
|
| Constructor and Description |
|---|
TLDecryptedMessageMediaDocument()
Instantiates a new TL decrypted message media document.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deserializeBody(InputStream stream,
TLContext context)
Deserializing object from stream and context
|
int |
getClassId()
Getting TL Class identification
|
String |
getFileName()
Gets file name.
|
TLBytes |
getIv()
Gets iv.
|
TLBytes |
getKey()
Gets key.
|
String |
getMimeType()
Gets mime type.
|
int |
getSize()
Gets size.
|
TLBytes |
getThumb()
Gets thumb.
|
int |
getThumbH()
Gets thumb h.
|
int |
getThumbW()
Gets thumb w.
|
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
void |
setFileName(String fileName)
Sets file name.
|
void |
setIv(TLBytes iv)
Sets iv.
|
void |
setKey(TLBytes key)
Sets key.
|
void |
setMimeType(String mimeType)
Sets mime type.
|
void |
setSize(int size)
Sets size.
|
void |
setThumb(TLBytes thumb)
Sets thumb.
|
void |
setThumbH(int thumbH)
Sets thumb h.
|
void |
setThumbW(int thumbW)
Sets thumb w.
|
String |
toString()
Custom toString method
|
deserialize, serialize, serializepublic static final int CLASS_ID
public TLDecryptedMessageMediaDocument()
public int getClassId()
TLObjectgetClassId in class TLObjectpublic TLBytes getThumb()
public void setThumb(TLBytes thumb)
thumb - the thumbpublic int getThumbW()
public void setThumbW(int thumbW)
thumbW - the thumb wpublic int getThumbH()
public void setThumbH(int thumbH)
thumbH - the thumb hpublic String getFileName()
public void setFileName(String fileName)
fileName - the file namepublic String getMimeType()
public void setMimeType(String mimeType)
mimeType - the mime typepublic int getSize()
public void setSize(int size)
size - the sizepublic TLBytes getKey()
public void setKey(TLBytes key)
key - the keypublic TLBytes getIv()
public void setIv(TLBytes iv)
iv - the ivpublic 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.