public class TLRequestMessagesGetWebPage extends TLMethod<TLAbsWebPage>
Modifier and Type | Field and Description |
---|---|
static int |
CLASS_ID |
Constructor and Description |
---|
TLRequestMessagesGetWebPage() |
Modifier and Type | Method and Description |
---|---|
void |
deserializeBody(InputStream stream,
TLContext context)
Deserializing object from stream and context
|
TLAbsWebPage |
deserializeResponse(InputStream stream,
TLContext context) |
int |
getClassId()
Getting TL Class identification
|
int |
getHash() |
String |
getUrl() |
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
void |
setHash(int hash) |
void |
setUrl(String url) |
String |
toString()
Custom toString method
|
castResponse, deserializeResponse
deserialize, serialize, serialize
public static final int CLASS_ID
public int getClassId()
TLObject
getClassId
in class TLObject
public TLAbsWebPage deserializeResponse(InputStream stream, TLContext context) throws IOException
deserializeResponse
in class TLMethod<TLAbsWebPage>
IOException
public String getUrl()
public void setUrl(String url)
public int getHash()
public void setHash(int hash)
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 © 2017. All rights reserved.