public class TLChannel extends TLAbsChat
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID |
| Constructor and Description |
|---|
TLChannel() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserializeBody(InputStream stream,
TLContext context)
Deserializing object from stream and context
|
long |
getAccessHash() |
int |
getClassId()
Getting TL Class identification
|
int |
getDate() |
int |
getFlags() |
TLAbsChatPhoto |
getPhoto() |
String |
getRestrictionReason() |
String |
getTitle() |
String |
getUsername() |
int |
getVersion() |
boolean |
hasAccessHash() |
boolean |
hasRestrictionReason() |
boolean |
hasUsername() |
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
void |
setAccessHash(long accessHash) |
void |
setDate(int date) |
void |
setFlags(int flags) |
void |
setPhoto(TLAbsChatPhoto photo) |
void |
setRestrictionReason(String restrictionReason) |
void |
setTitle(String title) |
void |
setUsername(String username) |
void |
setVersion(int version) |
String |
toString()
Custom toString method
|
deserialize, serialize, serializepublic static final int CLASS_ID
public int getClassId()
TLObjectgetClassId in class TLObjectpublic int getFlags()
public void setFlags(int flags)
public long getAccessHash()
public void setAccessHash(long accessHash)
public String getTitle()
public void setTitle(String title)
public TLAbsChatPhoto getPhoto()
public void setPhoto(TLAbsChatPhoto photo)
public int getDate()
public void setDate(int date)
public int getVersion()
public void setVersion(int version)
public String getUsername()
public void setUsername(String username)
public String getRestrictionReason()
public void setRestrictionReason(String restrictionReason)
public boolean hasUsername()
public boolean hasRestrictionReason()
public boolean hasAccessHash()
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.