public class TLRequestMessagesGetHistory extends TLMethod<TLAbsMessages>
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID
The constant CLASS_ID.
|
| Constructor and Description |
|---|
TLRequestMessagesGetHistory()
Instantiates a new TL request messages get history.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deserializeBody(InputStream stream,
TLContext context)
Deserializing object from stream and context
|
TLAbsMessages |
deserializeResponse(InputStream stream,
TLContext context) |
int |
getAddOffset() |
int |
getClassId()
Getting TL Class identification
|
int |
getLimit()
Gets limit.
|
int |
getMaxId()
Gets max id.
|
int |
getMinId() |
int |
getOffsetDate() |
int |
getOffsetId() |
TLAbsInputPeer |
getPeer()
Gets peer.
|
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
void |
setAddOffset(int addOffset) |
void |
setLimit(int value)
Sets limit.
|
void |
setMaxId(int value)
Sets max id.
|
void |
setMinId(int minId) |
void |
setOffsetDate(int offsetDate) |
void |
setOffsetId(int offsetId) |
void |
setPeer(TLAbsInputPeer value)
Sets peer.
|
String |
toString()
Custom toString method
|
castResponse, deserializeResponsedeserialize, serialize, serializepublic static final int CLASS_ID
public TLRequestMessagesGetHistory()
public int getClassId()
TLObjectgetClassId in class TLObjectpublic TLAbsMessages deserializeResponse(InputStream stream, TLContext context) throws IOException
deserializeResponse in class TLMethod<TLAbsMessages>IOExceptionpublic TLAbsInputPeer getPeer()
public void setPeer(TLAbsInputPeer value)
value - the valuepublic int getOffsetDate()
public void setOffsetDate(int offsetDate)
public int getOffsetId()
public void setOffsetId(int offsetId)
public int getMaxId()
public void setMaxId(int value)
value - the valuepublic int getLimit()
public void setLimit(int value)
value - the valuepublic int getMinId()
public void setMinId(int minId)
public int getAddOffset()
public void setAddOffset(int addOffset)
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.