public class TLAccountAuthorizations extends TLObject
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID
The constant CLASS_ID for this class.
|
| Constructor and Description |
|---|
TLAccountAuthorizations()
Instantiates a new TL account authorizations.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deserializeBody(InputStream stream,
TLContext context)
Deserializing object from stream and context
|
TLVector<TLAuthorization> |
getAuthorizations()
Gets authorizations.
|
int |
getClassId()
Getting TL Class identification
|
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
void |
setAuthorizations(TLVector<TLAuthorization> authorizations)
Sets authorizations.
|
String |
toString()
Custom toString method
|
deserialize, serialize, serializepublic static final int CLASS_ID
public TLAccountAuthorizations()
public int getClassId()
TLObjectgetClassId in class TLObjectpublic TLVector<TLAuthorization> getAuthorizations()
public void setAuthorizations(TLVector<TLAuthorization> authorizations)
authorizations - the authorizationspublic 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.