public class TLRequestContactsGetTopPeers extends TLMethod<TLAbsContactsTopPeers>
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID
The constant CLASS_ID.
|
| Constructor and Description |
|---|
TLRequestContactsGetTopPeers()
Instantiates a new TL request contacts get contacts.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deserializeBody(InputStream stream,
TLContext context)
Deserializing object from stream and context
|
TLAbsContactsTopPeers |
deserializeResponse(InputStream stream,
TLContext context) |
void |
enableBotsInline() |
void |
enableBotsPM() |
void |
enableChannels() |
void |
enableCorrespondents() |
void |
enableGroups() |
int |
getClassId()
Getting TL Class identification
|
int |
getHash() |
int |
getLimit() |
int |
getOffset() |
boolean |
hasBotsInline() |
boolean |
hasBotsPM() |
boolean |
hasChannels() |
boolean |
hasCorrespondents() |
boolean |
hasGroups() |
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
void |
setHash(int hash) |
void |
setLimit(int limit) |
void |
setOffset(int offset) |
String |
toString()
Custom toString method
|
castResponse, deserializeResponsedeserialize, serialize, serializepublic static final int CLASS_ID
public TLRequestContactsGetTopPeers()
public int getClassId()
TLObjectgetClassId in class TLObjectpublic TLAbsContactsTopPeers deserializeResponse(InputStream stream, TLContext context) throws IOException
deserializeResponse in class TLMethod<TLAbsContactsTopPeers>IOExceptionpublic int getOffset()
public void setOffset(int offset)
public int getLimit()
public void setLimit(int limit)
public int getHash()
public void setHash(int hash)
public boolean hasCorrespondents()
public void enableCorrespondents()
public boolean hasBotsPM()
public void enableBotsPM()
public boolean hasBotsInline()
public void enableBotsInline()
public boolean hasGroups()
public void enableGroups()
public boolean hasChannels()
public void enableChannels()
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.