public class TLDocumentAttributeSticker extends TLAbsDocumentAttribute
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID
The constant CLASS_ID.
|
| Constructor and Description |
|---|
TLDocumentAttributeSticker()
Instantiates a new TL document attribute sticker.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deserializeBody(InputStream stream,
TLContext context)
Deserializing object from stream and context
|
String |
getAlt()
Gets alt.
|
int |
getClassId()
Getting TL Class identification
|
TLMaskCoords |
getMaskCoords() |
TLAbsInputStickerSet |
getStickerset() |
boolean |
isMask() |
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
void |
setAlt(String alt)
Sets alt.
|
void |
setStickerset(TLAbsInputStickerSet stickerset) |
String |
toString()
Custom toString method
|
deserialize, serialize, serializepublic static final int CLASS_ID
public TLDocumentAttributeSticker()
public String getAlt()
public void setAlt(String alt)
alt - the altpublic TLAbsInputStickerSet getStickerset()
public void setStickerset(TLAbsInputStickerSet stickerset)
public TLMaskCoords getMaskCoords()
public boolean isMask()
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 contextIOExceptionpublic int getClassId()
TLObjectgetClassId in class TLObjectCopyright © 2017. All rights reserved.