public class TLUpdateChatParticipantAdd extends TLAbsUpdate
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID
The constant CLASS_ID.
|
| Constructor and Description |
|---|
TLUpdateChatParticipantAdd()
Instantiates a new TL update chat participant add.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deserializeBody(InputStream stream,
TLContext context)
Deserializing object from stream and context
|
int |
getChatId()
Gets chat id.
|
int |
getClassId()
Getting TL Class identification
|
int |
getDate() |
int |
getInviterId()
Gets inviter id.
|
int |
getUserId()
Gets user id.
|
int |
getVersion()
Gets version.
|
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
void |
setChatId(int chatId)
Sets chat id.
|
void |
setDate(int date) |
void |
setInviterId(int inviterId)
Sets inviter id.
|
void |
setUserId(int userId)
Sets user id.
|
void |
setVersion(int version)
Sets version.
|
String |
toString()
Custom toString method
|
getPts, getPtsCountdeserialize, serialize, serializepublic static final int CLASS_ID
public TLUpdateChatParticipantAdd()
public int getClassId()
TLObjectgetClassId in class TLObjectpublic int getChatId()
public void setChatId(int chatId)
chatId - the chat idpublic int getVersion()
public void setVersion(int version)
version - the versionpublic int getInviterId()
public void setInviterId(int inviterId)
inviterId - the inviter idpublic int getUserId()
public void setUserId(int userId)
userId - the user idpublic int getDate()
public void setDate(int date)
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.