public class TLPhotoCachedSize extends TLAbsPhotoSize
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID
The constant CLASS_ID.
|
| Constructor and Description |
|---|
TLPhotoCachedSize()
Instantiates a new TL photo cached size.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deserializeBody(InputStream stream,
TLContext context)
Deserializing object from stream and context
|
TLBytes |
getBytes()
Gets bytes.
|
int |
getClassId()
Getting TL Class identification
|
int |
getH()
Gets h.
|
TLAbsFileLocation |
getLocation()
Gets location.
|
String |
getType()
Gets type.
|
int |
getW()
Gets w.
|
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
void |
setBytes(TLBytes bytes)
Sets bytes.
|
void |
setH(int h)
Sets h.
|
void |
setLocation(TLAbsFileLocation location)
Sets location.
|
void |
setType(String type)
Sets type.
|
void |
setW(int w)
Sets w.
|
String |
toString()
Custom toString method
|
deserialize, serialize, serializepublic static final int CLASS_ID
public TLPhotoCachedSize()
public int getClassId()
TLObjectgetClassId in class TLObjectpublic String getType()
public void setType(String type)
type - the typepublic TLAbsFileLocation getLocation()
public void setLocation(TLAbsFileLocation location)
location - the locationpublic int getW()
public void setW(int w)
w - the wpublic int getH()
public void setH(int h)
h - the hpublic TLBytes getBytes()
public void setBytes(TLBytes bytes)
bytes - the bytespublic 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.