public class TLUpdateServiceNotification extends TLAbsUpdate
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID
The constant CLASS_ID.
|
| Constructor and Description |
|---|
TLUpdateServiceNotification()
Instantiates a new TL update service notification.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deserializeBody(InputStream stream,
TLContext context)
Deserializing object from stream and context
|
int |
getClassId()
Getting TL Class identification
|
TLAbsMessageMedia |
getMedia()
Gets media.
|
TLIntVector |
getMessages()
Gets messages.
|
String |
getType()
Gets type.
|
boolean |
isPopup()
Is popup.
|
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
void |
setMedia(TLAbsMessageMedia media)
Sets media.
|
void |
setMessages(TLIntVector messages)
Sets messages.
|
void |
setPopup(boolean popup)
Sets popup.
|
void |
setType(String type)
Sets type.
|
String |
toString()
Custom toString method
|
getPts, getPtsCountdeserialize, serialize, serializepublic static final int CLASS_ID
public TLUpdateServiceNotification()
public int getClassId()
TLObjectgetClassId in class TLObjectpublic String getType()
public void setType(String type)
type - the typepublic boolean isPopup()
public void setPopup(boolean popup)
popup - the popuppublic TLAbsMessageMedia getMedia()
public void setMedia(TLAbsMessageMedia media)
media - the mediapublic TLIntVector getMessages()
public void setMessages(TLIntVector messages)
messages - the messagespublic 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.