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() |
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() |
long |
getId()
Gets id.
|
TLAbsPhoto |
getPhoto() |
String |
getSite_name() |
String |
getTitle() |
String |
getType() |
String |
getUrl() |
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
void |
setAuthor(String author) |
void |
setDescription(String description) |
void |
setDisplay_url(String display_url) |
void |
setDocument(TLAbsDocument document) |
void |
setDuration(int duration) |
void |
setEmbed_height(int embed_height) |
void |
setEmbed_type(String embed_type) |
void |
setEmbed_url(String embed_url) |
void |
setEmbed_width(int embed_width) |
void |
setFlags(int flags) |
void |
setId(long id)
Sets id.
|
void |
setPhoto(TLAbsPhoto photo) |
void |
setSite_name(String site_name) |
void |
setTitle(String title) |
void |
setType(String type) |
void |
setUrl(String url) |
String |
toString()
Custom toString method
|
deserialize, serialize, serialize
public static final int CLASS_ID
public int getClassId()
TLObject
getClassId
in class TLObject
public long getId()
public void setId(long id)
id
- the idpublic int getFlags()
public void setFlags(int flags)
public String getUrl()
public void setUrl(String url)
public String getDisplay_url()
public void setDisplay_url(String display_url)
public String getType()
public void setType(String type)
public String getSite_name()
public void setSite_name(String site_name)
public String getTitle()
public void setTitle(String title)
public String getDescription()
public void setDescription(String description)
public TLAbsPhoto getPhoto()
public void setPhoto(TLAbsPhoto photo)
public String getEmbed_url()
public void setEmbed_url(String embed_url)
public String getEmbed_type()
public void setEmbed_type(String embed_type)
public int getEmbed_width()
public void setEmbed_width(int embed_width)
public int getEmbed_height()
public void setEmbed_height(int embed_height)
public int getDuration()
public void setDuration(int duration)
public String getAuthor()
public void setAuthor(String author)
public TLAbsDocument getDocument()
public void setDocument(TLAbsDocument document)
public void serializeBody(OutputStream stream) throws IOException
TLObject
serializeBody
in class TLObject
stream
- destination streamIOException
public void deserializeBody(InputStream stream, TLContext context) throws IOException
TLObject
deserializeBody
in class TLObject
stream
- source streamcontext
- tl contextIOException
Copyright © 2016. All rights reserved.