public class TLRequestContactsSearch extends TLMethod<TLContactsFound>
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID
The constant CLASS_ID.
|
| Constructor and Description |
|---|
TLRequestContactsSearch()
Instantiates a new TL request contacts search.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deserializeBody(InputStream stream,
TLContext context)
Deserializing object from stream and context
|
TLContactsFound |
deserializeResponse(InputStream stream,
TLContext context) |
int |
getClassId()
Getting TL Class identification
|
int |
getLimit()
Gets limit.
|
String |
getQ()
Gets q.
|
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
void |
setLimit(int value)
Sets limit.
|
void |
setQ(String value)
Sets q.
|
String |
toString()
Custom toString method
|
castResponse, deserializeResponsedeserialize, serialize, serializepublic static final int CLASS_ID
public TLRequestContactsSearch()
public int getClassId()
TLObjectgetClassId in class TLObjectpublic TLContactsFound deserializeResponse(InputStream stream, TLContext context) throws IOException
deserializeResponse in class TLMethod<TLContactsFound>IOExceptionpublic String getQ()
public void setQ(String value)
value - the valuepublic int getLimit()
public void setLimit(int value)
value - the valuepublic 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.