public class TLRequestMessagesSetGameScore extends TLMethod<TLAbsUpdates>
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID
The constant CLASS_ID.
|
| Constructor and Description |
|---|
TLRequestMessagesSetGameScore()
Instantiates a new TL request messages accept encryption.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deserializeBody(InputStream stream,
TLContext context)
Deserializing object from stream and context
|
TLAbsUpdates |
deserializeResponse(InputStream stream,
TLContext context) |
void |
enableEditMessage(boolean enabled) |
int |
getClassId()
Getting TL Class identification
|
int |
getId() |
TLAbsInputPeer |
getPeer() |
int |
getScore() |
TLAbsInputUser |
getUserId() |
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
void |
setId(int id) |
void |
setPeer(TLAbsInputPeer peer) |
void |
setScore(int score) |
void |
setUserId(TLAbsInputUser userId) |
String |
toString()
Custom toString method
|
castResponse, deserializeResponsedeserialize, serialize, serializepublic static final int CLASS_ID
public TLRequestMessagesSetGameScore()
public int getClassId()
TLObjectgetClassId in class TLObjectpublic TLAbsUpdates deserializeResponse(InputStream stream, TLContext context) throws IOException
deserializeResponse in class TLMethod<TLAbsUpdates>IOExceptionpublic TLAbsInputPeer getPeer()
public void setPeer(TLAbsInputPeer peer)
public int getId()
public void setId(int id)
public TLAbsInputUser getUserId()
public void setUserId(TLAbsInputUser userId)
public int getScore()
public void setScore(int score)
public void enableEditMessage(boolean enabled)
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 © 2016. All rights reserved.