public class TLRequestMessagesSearch extends TLMethod<TLAbsMessages>
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID
The constant CLASS_ID.
|
| Constructor and Description |
|---|
TLRequestMessagesSearch()
Instantiates a new TL request messages search.
|
| 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 |
getClassId()
Getting TL Class identification
|
TLAbsMessagesFilter |
getFilter()
Gets filter.
|
int |
getFlags() |
int |
getLimit()
Gets limit.
|
int |
getMaxDate()
Gets max date.
|
int |
getMaxId()
Gets max id.
|
int |
getMinDate()
Gets min date.
|
int |
getOffset()
Gets offset.
|
TLAbsInputPeer |
getPeer()
Gets peer.
|
String |
getQ()
Gets q.
|
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
void |
setFilter(TLAbsMessagesFilter value)
Sets filter.
|
void |
setFlags(int flags) |
void |
setLimit(int value)
Sets limit.
|
void |
setMaxDate(int value)
Sets max date.
|
void |
setMaxId(int value)
Sets max id.
|
void |
setMinDate(int value)
Sets min date.
|
void |
setOffset(int value)
Sets offset.
|
void |
setPeer(TLAbsInputPeer value)
Sets peer.
|
void |
setQ(String value)
Sets q.
|
String |
toString()
Custom toString method
|
castResponse, deserializeResponsedeserialize, serialize, serializepublic static final int CLASS_ID
public TLRequestMessagesSearch()
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 String getQ()
public void setQ(String value)
value - the valuepublic TLAbsMessagesFilter getFilter()
public void setFilter(TLAbsMessagesFilter value)
value - the valuepublic int getMinDate()
public void setMinDate(int value)
value - the valuepublic int getMaxDate()
public void setMaxDate(int value)
value - the valuepublic int getOffset()
public void setOffset(int value)
value - the valuepublic int getMaxId()
public void setMaxId(int value)
value - the valuepublic int getLimit()
public void setLimit(int value)
value - the valuepublic int getFlags()
public void setFlags(int flags)
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.