public class TLRequestPhoneSetCallRating extends TLMethod<TLAbsUpdates>
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID |
| Constructor and Description |
|---|
TLRequestPhoneSetCallRating() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserializeBody(InputStream stream,
TLContext context)
Deserializing object from stream and context
|
TLAbsUpdates |
deserializeResponse(InputStream stream,
TLContext context) |
int |
getClassId()
Getting TL Class identification
|
String |
getComment() |
TLInputPhoneCall |
getPeer() |
int |
getRating() |
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
void |
setComment(String comment) |
void |
setPeer(TLInputPhoneCall peer) |
void |
setRating(int rating) |
String |
toString()
Custom toString method
|
castResponse, deserializeResponsedeserialize, serialize, serializepublic static final int CLASS_ID
public TLAbsUpdates deserializeResponse(InputStream stream, TLContext context) throws IOException
deserializeResponse in class TLMethod<TLAbsUpdates>IOExceptionpublic TLInputPhoneCall getPeer()
public void setPeer(TLInputPhoneCall peer)
public int getRating()
public void setRating(int rating)
public String getComment()
public void setComment(String comment)
public int getClassId()
TLObjectgetClassId in class TLObjectpublic 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.