public class TLEncryptedChat extends TLAbsEncryptedChat
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID
The constant CLASS_ID.
|
id| Constructor and Description |
|---|
TLEncryptedChat()
Instantiates a new TL encrypted chat.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deserializeBody(InputStream stream,
TLContext context)
Deserializing object from stream and context
|
long |
getAccessHash()
Gets access hash.
|
int |
getAdminId()
Gets admin id.
|
int |
getClassId()
Getting TL Class identification
|
int |
getDate()
Gets date.
|
TLBytes |
getgAOrB()
Gets a or b.
|
long |
getKeyFingerprint()
Gets key fingerprint.
|
int |
getParticipantId()
Gets participant id.
|
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
void |
setAccessHash(long accessHash)
Sets access hash.
|
void |
setAdminId(int adminId)
Sets admin id.
|
void |
setDate(int date)
Sets date.
|
void |
setgAOrB(TLBytes gAOrB)
Sets a or b.
|
void |
setKeyFingerprint(long keyFingerprint)
Sets key fingerprint.
|
void |
setParticipantId(int participantId)
Sets participant id.
|
String |
toString()
Custom toString method
|
getId, setIddeserialize, serialize, serializepublic static final int CLASS_ID
public int getClassId()
TLObjectgetClassId in class TLObjectpublic long getAccessHash()
public void setAccessHash(long accessHash)
accessHash - the access hashpublic int getDate()
public void setDate(int date)
date - the datepublic int getAdminId()
public void setAdminId(int adminId)
adminId - the admin idpublic int getParticipantId()
public void setParticipantId(int participantId)
participantId - the participant idpublic TLBytes getgAOrB()
public void setgAOrB(TLBytes gAOrB)
gAOrB - the g a or bpublic long getKeyFingerprint()
public void setKeyFingerprint(long keyFingerprint)
keyFingerprint - the key fingerprintpublic 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.