public class TLDocumentAttributeImageSize extends TLAbsDocumentAttribute
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID
The constant CLASS_ID.
|
| Constructor and Description |
|---|
TLDocumentAttributeImageSize()
Instantiates a new TL document attribute image size.
|
| 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.
|
int |
getW()
Gets w.
|
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
void |
setH(int h)
Sets h.
|
void |
setW(int w)
Sets w.
|
String |
toString()
Custom toString method
|
deserialize, serialize, serializepublic static final int CLASS_ID
public TLDocumentAttributeImageSize()
public int getClassId()
TLObjectgetClassId in class TLObjectpublic int getW()
public void setW(int w)
w - the wpublic int getH()
public void setH(int h)
h - the hpublic 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.