public class TLRequestMessagesSearchGlobal extends TLMethod<TLAbsMessages>
Modifier and Type | Field and Description |
---|---|
static int |
CLASS_ID
The constant CLASS_ID.
|
Constructor and Description |
---|
TLRequestMessagesSearchGlobal()
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
|
int |
getLimit() |
int |
getOffsetDate() |
int |
getOffsetId() |
TLAbsInputPeer |
getOffsetPeer() |
String |
getQ() |
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
void |
setLimit(int limit) |
void |
setOffsetDate(int offsetDate) |
void |
setOffsetId(int offsetId) |
void |
setOffsetPeer(TLAbsInputPeer offsetPeer) |
void |
setQ(String q) |
String |
toString()
Custom toString method
|
castResponse, deserializeResponse
deserialize, serialize, serialize
public static final int CLASS_ID
public TLRequestMessagesSearchGlobal()
public int getClassId()
TLObject
getClassId
in class TLObject
public TLAbsMessages deserializeResponse(InputStream stream, TLContext context) throws IOException
deserializeResponse
in class TLMethod<TLAbsMessages>
IOException
public String getQ()
public void setQ(String q)
public int getOffsetDate()
public void setOffsetDate(int offsetDate)
public TLAbsInputPeer getOffsetPeer()
public void setOffsetPeer(TLAbsInputPeer offsetPeer)
public int getOffsetId()
public void setOffsetId(int offsetId)
public int getLimit()
public void setLimit(int limit)
public void serializeBody(OutputStream stream) throws IOException
TLObject
serializeBody
in class TLObject
stream
- destination streamIOException
public void deserializeBody(InputStream stream, TLContext context) throws IOException
TLObject
deserializeBody
in class TLObject
stream
- source streamcontext
- tl contextIOException
Copyright © 2016. All rights reserved.