public class TLInputMediaUploadedThumbDocument extends TLAbsInputMedia
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID
The constant CLASS_ID.
|
| Constructor and Description |
|---|
TLInputMediaUploadedThumbDocument()
Instantiates a new TL input media uploaded thumb document.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deserializeBody(InputStream stream,
TLContext context)
Deserializing object from stream and context
|
TLVector<TLAbsDocumentAttribute> |
getAttributes() |
String |
getCaption() |
int |
getClassId()
Getting TL Class identification
|
TLAbsInputFile |
getFile()
Gets file.
|
String |
getMimeType()
Gets mime type.
|
TLVector<TLAbsInputDocument> |
getStickers() |
TLAbsInputFile |
getThumb()
Gets thumb.
|
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
void |
setAttributes(TLVector<TLAbsDocumentAttribute> attributes) |
void |
setCaption(String caption) |
void |
setFile(TLAbsInputFile file)
Sets file.
|
void |
setMimeType(String mimeType)
Sets mime type.
|
void |
setStickers(TLVector<TLAbsInputDocument> stickers) |
void |
setThumb(TLAbsInputFile thumb)
Sets thumb.
|
String |
toString()
Custom toString method
|
deserialize, serialize, serializepublic static final int CLASS_ID
public TLInputMediaUploadedThumbDocument()
public int getClassId()
TLObjectgetClassId in class TLObjectpublic TLAbsInputFile getFile()
public void setFile(TLAbsInputFile file)
file - the filepublic TLAbsInputFile getThumb()
public void setThumb(TLAbsInputFile thumb)
thumb - the thumbpublic String getMimeType()
public void setMimeType(String mimeType)
mimeType - the mime typepublic TLVector<TLAbsDocumentAttribute> getAttributes()
public void setAttributes(TLVector<TLAbsDocumentAttribute> attributes)
public String getCaption()
public void setCaption(String caption)
public TLVector<TLAbsInputDocument> getStickers()
public void setStickers(TLVector<TLAbsInputDocument> stickers)
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 © 2016. All rights reserved.