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, deserializeResponse
deserialize, serialize, serialize
public static final int CLASS_ID
public TLRequestContactsGetTopPeers()
public int getClassId()
TLObject
getClassId
in class TLObject
public TLAbsContactsTopPeers deserializeResponse(InputStream stream, TLContext context) throws IOException
deserializeResponse
in class TLMethod<TLAbsContactsTopPeers>
IOException
public 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
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 © 2017. All rights reserved.