public class TLDocument extends TLAbsDocument
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID
The constant CLASS_ID.
|
id| Constructor and Description |
|---|
TLDocument()
Instantiates a new TL document.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deserializeBody(InputStream stream,
TLContext context)
Deserializing object from stream and context
|
long |
getAccessHash() |
TLVector<TLAbsDocumentAttribute> |
getAttributes() |
int |
getClassId()
Getting TL Class identification
|
int |
getDate() |
int |
getDcId() |
String |
getMimeType() |
int |
getSize() |
TLAbsPhotoSize |
getThumb() |
int |
getVersion() |
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
String |
toString()
Custom toString method
|
getIddeserialize, serialize, serializepublic static final int CLASS_ID
public int getClassId()
TLObjectgetClassId in class TLObjectpublic long getAccessHash()
public int getDate()
public String getMimeType()
public int getSize()
public TLAbsPhotoSize getThumb()
public int getDcId()
public int getVersion()
public TLVector<TLAbsDocumentAttribute> getAttributes()
public 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.