public class TLRequestMessagesStartBot extends TLMethod<TLAbsUpdates>
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID
The constant CLASS_ID.
|
| Constructor and Description |
|---|
TLRequestMessagesStartBot()
Instantiates a new TL request messages get stickers.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deserializeBody(InputStream stream,
TLContext context)
Deserializing object from stream and context
|
TLAbsUpdates |
deserializeResponse(InputStream stream,
TLContext context) |
TLAbsInputUser |
getBot() |
int |
getClassId()
Getting TL Class identification
|
TLAbsInputPeer |
getPeer() |
long |
getRandomId() |
String |
getStartParam() |
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
void |
setBot(TLAbsInputUser bot) |
void |
setPeer(TLAbsInputPeer peer) |
void |
setRandomId(long randomId) |
void |
setStartParam(String startParam) |
String |
toString()
Custom toString method
|
castResponse, deserializeResponsedeserialize, serialize, serializepublic static final int CLASS_ID
public TLRequestMessagesStartBot()
public int getClassId()
TLObjectgetClassId in class TLObjectpublic TLAbsUpdates deserializeResponse(InputStream stream, TLContext context) throws IOException
deserializeResponse in class TLMethod<TLAbsUpdates>IOExceptionpublic TLAbsInputUser getBot()
public void setBot(TLAbsInputUser bot)
public TLAbsInputPeer getPeer()
public void setPeer(TLAbsInputPeer peer)
public long getRandomId()
public void setRandomId(long randomId)
public String getStartParam()
public void setStartParam(String startParam)
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.