public class TLStorage extends TLObject
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID |
| Constructor and Description |
|---|
TLStorage() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserializeBody(InputStream stream,
TLContext context)
Deserializing object from stream and context
|
int |
getClassId()
Getting TL Class identification
|
TLVector<TLDcInfo> |
getDcInfos() |
TLVector<TLKey> |
getKeys() |
String |
getPhone() |
int |
getPrimaryDc() |
int |
getUid() |
boolean |
isAuthorized() |
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
void |
setAuthorized(boolean authorized) |
void |
setPhone(String phone) |
void |
setPrimaryDc(int primaryDc) |
void |
setUid(int uid) |
String |
toString()
Custom toString method
|
deserialize, serialize, serializepublic static final int CLASS_ID
public int getPrimaryDc()
public void setPrimaryDc(int primaryDc)
public boolean isAuthorized()
public void setAuthorized(boolean authorized)
public int getUid()
public void setUid(int uid)
public String getPhone()
public void setPhone(String phone)
public int getClassId()
TLObjectgetClassId in class TLObjectpublic 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.