public class TLRequestMessagesSendMedia extends TLMethod<TLAbsUpdates>
Modifier and Type | Field and Description |
---|---|
static int |
CLASS_ID
The constant CLASS_ID.
|
Constructor and Description |
---|
TLRequestMessagesSendMedia()
Instantiates a new TL request messages send media.
|
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
|
int |
getFlags()
Gets flags.
|
TLAbsInputMedia |
getMedia()
Gets media.
|
TLAbsInputPeer |
getPeer()
Gets peer.
|
long |
getRandomId()
Gets random id.
|
int |
getReplyToMsgId()
Gets reply to msg id.
|
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
void |
setFlags(int flags)
Sets flags.
|
void |
setMedia(TLAbsInputMedia value)
Sets media.
|
void |
setPeer(TLAbsInputPeer value)
Sets peer.
|
void |
setRandomId(long value)
Sets random id.
|
void |
setReplyToMsgId(int replyToMsgId)
Sets reply to msg id.
|
String |
toString()
Custom toString method
|
castResponse, deserializeResponse
deserialize, serialize, serialize
public static final int CLASS_ID
public TLRequestMessagesSendMedia()
public int getClassId()
TLObject
getClassId
in class TLObject
public TLAbsUpdates deserializeResponse(InputStream stream, TLContext context) throws IOException
deserializeResponse
in class TLMethod<TLAbsUpdates>
IOException
public TLAbsInputPeer getPeer()
public void setPeer(TLAbsInputPeer value)
value
- the valuepublic TLAbsInputMedia getMedia()
public void setMedia(TLAbsInputMedia value)
value
- the valuepublic long getRandomId()
public void setRandomId(long value)
value
- the valuepublic int getFlags()
public void setFlags(int flags)
flags
- the flagspublic int getReplyToMsgId()
public void setReplyToMsgId(int replyToMsgId)
replyToMsgId
- the reply to msg idpublic 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.