public class TLInputPhoneContact extends TLObject
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID
The constant CLASS_ID.
|
protected long |
clientId
The Client id.
|
protected String |
firstName
The First name.
|
protected String |
lastName
The Last name.
|
protected String |
phone
The Phone.
|
| Constructor and Description |
|---|
TLInputPhoneContact()
Instantiates a new TL input phone contact.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deserializeBody(InputStream stream,
TLContext context)
Deserializing object from stream and context
|
int |
getClassId()
Getting TL Class identification
|
long |
getClientId()
Gets client id.
|
String |
getFirstName()
Gets first name.
|
String |
getLastName()
Gets last name.
|
String |
getPhone()
Gets phone.
|
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
void |
setClientId(long value)
Sets client id.
|
void |
setFirstName(String value)
Sets first name.
|
void |
setLastName(String value)
Sets last name.
|
void |
setPhone(String value)
Sets phone.
|
String |
toString()
Custom toString method
|
deserialize, serialize, serializepublic static final int CLASS_ID
protected long clientId
protected String phone
protected String firstName
protected String lastName
public TLInputPhoneContact()
public int getClassId()
TLObjectgetClassId in class TLObjectpublic long getClientId()
public void setClientId(long value)
value - the valuepublic String getPhone()
public void setPhone(String value)
value - the valuepublic String getFirstName()
public void setFirstName(String value)
value - the valuepublic String getLastName()
public void setLastName(String value)
value - the valuepublic 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.