public class TLChannelMessagesFilter extends TLAbsChannelMessagesFilter
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID |
static int |
FLAG_EXCLUDE_NEW_MESSAGES |
static int |
FLAG_IMPORTANT_ONLY |
| Constructor and Description |
|---|
TLChannelMessagesFilter() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserializeBody(InputStream stream,
TLContext context)
Deserializing object from stream and context
|
int |
getClassId()
Getting TL Class identification
|
int |
getFlags() |
TLVector<TLMessageRange> |
getRanges() |
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
void |
setFlags(int flags) |
void |
setRanges(TLVector<TLMessageRange> ranges) |
String |
toString()
Custom toString method
|
deserialize, serialize, serializepublic static final int CLASS_ID
public static final int FLAG_IMPORTANT_ONLY
public static final int FLAG_EXCLUDE_NEW_MESSAGES
public int getClassId()
TLObjectgetClassId in class TLObjectpublic int getFlags()
public void setFlags(int flags)
public TLVector<TLMessageRange> getRanges()
public void setRanges(TLVector<TLMessageRange> ranges)
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 © 2016. All rights reserved.