public class TLUpdateNotifySettings extends TLAbsUpdate
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID
The constant CLASS_ID.
|
| Constructor and Description |
|---|
TLUpdateNotifySettings()
Instantiates a new TL update notify settings.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deserializeBody(InputStream stream,
TLContext context)
Deserializing object from stream and context
|
int |
getClassId()
Getting TL Class identification
|
TLAbsPeerNotifySettings |
getNotifySettings()
Gets notify settings.
|
TLAbsNotifyPeer |
getPeer()
Gets peer.
|
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
void |
setNotifySettings(TLAbsPeerNotifySettings notifySettings)
Sets notify settings.
|
void |
setPeer(TLAbsNotifyPeer peer)
Sets peer.
|
String |
toString()
Custom toString method
|
getPts, getPtsCountdeserialize, serialize, serializepublic static final int CLASS_ID
public TLUpdateNotifySettings()
public int getClassId()
TLObjectgetClassId in class TLObjectpublic TLAbsNotifyPeer getPeer()
public void setPeer(TLAbsNotifyPeer peer)
peer - the peerpublic TLAbsPeerNotifySettings getNotifySettings()
public void setNotifySettings(TLAbsPeerNotifySettings notifySettings)
notifySettings - the notify settingspublic 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.