public class TLRequestMessagesDeleteHistory extends TLMethod<TLAffectedHistory>
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID
The constant CLASS_ID.
|
| Constructor and Description |
|---|
TLRequestMessagesDeleteHistory()
Instantiates a new TL request messages delete history.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deserializeBody(InputStream stream,
TLContext context)
Deserializing object from stream and context
|
TLAffectedHistory |
deserializeResponse(InputStream stream,
TLContext context) |
void |
enableJustClear() |
int |
getClassId()
Getting TL Class identification
|
int |
getMaxId() |
TLAbsInputPeer |
getPeer()
Gets peer.
|
boolean |
justClear() |
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
void |
setMaxId(int maxId) |
void |
setPeer(TLAbsInputPeer value)
Sets peer.
|
String |
toString()
Custom toString method
|
castResponse, deserializeResponsedeserialize, serialize, serializepublic static final int CLASS_ID
public TLRequestMessagesDeleteHistory()
public int getClassId()
TLObjectgetClassId in class TLObjectpublic TLAffectedHistory deserializeResponse(InputStream stream, TLContext context) throws IOException
deserializeResponse in class TLMethod<TLAffectedHistory>IOExceptionpublic TLAbsInputPeer getPeer()
public void setPeer(TLAbsInputPeer value)
value - the valuepublic int getMaxId()
public void setMaxId(int maxId)
public boolean justClear()
public void enableJustClear()
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.