public class TLWebPage extends TLAbsWebPage
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID
The constant CLASS_ID.
|
| Constructor and Description |
|---|
TLWebPage()
Instantiates a new TL web page.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deserializeBody(InputStream stream,
TLContext context)
Deserializing object from stream and context
|
String |
getAuthor() |
TLAbsPage |
getCachedPage() |
int |
getClassId()
Getting TL Class identification
|
String |
getDescription() |
String |
getDisplay_url() |
TLAbsDocument |
getDocument() |
int |
getDuration() |
int |
getEmbed_height() |
String |
getEmbed_type() |
String |
getEmbed_url() |
int |
getEmbed_width() |
int |
getFlags() |
int |
getHash() |
long |
getId() |
TLAbsPhoto |
getPhoto() |
String |
getSite_name() |
String |
getTitle() |
String |
getType() |
String |
getUrl() |
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
String |
toString()
Custom toString method
|
deserialize, serialize, serializepublic static final int CLASS_ID
public int getClassId()
TLObjectgetClassId in class TLObjectpublic int getFlags()
public long getId()
public String getUrl()
public String getDisplay_url()
public int getHash()
public String getType()
public String getSite_name()
public String getTitle()
public String getDescription()
public TLAbsPhoto getPhoto()
public String getEmbed_url()
public String getEmbed_type()
public int getEmbed_width()
public int getEmbed_height()
public int getDuration()
public String getAuthor()
public TLAbsDocument getDocument()
public TLAbsPage getCachedPage()
public 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.