public class TLDecryptedMessageMediaPhoto extends TLAbsDecryptedMessageMedia
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID
The constant CLASS_ID.
|
| Constructor and Description |
|---|
TLDecryptedMessageMediaPhoto()
Instantiates a new TL decrypted message media photo.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deserializeBody(InputStream stream,
TLContext context)
Deserializing object from stream and context
|
int |
getClassId()
Getting TL Class identification
|
int |
getH()
Gets h.
|
TLBytes |
getIv()
Gets iv.
|
TLBytes |
getKey()
Gets key.
|
int |
getSize()
Gets size.
|
TLBytes |
getThumb()
Gets thumb.
|
int |
getThumbH()
Gets thumb h.
|
int |
getThumbW()
Gets thumb w.
|
int |
getW()
Gets w.
|
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
void |
setH(int h)
Sets h.
|
void |
setIv(TLBytes iv)
Sets iv.
|
void |
setKey(TLBytes key)
Sets key.
|
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.
|
void |
setW(int w)
Sets w.
|
String |
toString()
Custom toString method
|
deserialize, serialize, serializepublic static final int CLASS_ID
public TLDecryptedMessageMediaPhoto()
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 int getW()
public void setW(int w)
w - the wpublic int getH()
public void setH(int h)
h - the hpublic 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 © 2017. All rights reserved.