public class TLRequestMessagesEditChatPhoto extends TLMethod<TLAbsUpdates>
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID
The constant CLASS_ID.
|
| Constructor and Description |
|---|
TLRequestMessagesEditChatPhoto()
Instantiates a new TL request messages edit chat photo.
|
| 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 |
getChatId() |
int |
getClassId()
Getting TL Class identification
|
TLAbsInputChatPhoto |
getPhoto()
Gets photo.
|
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
void |
setChatId(int chatId) |
void |
setPhoto(TLAbsInputChatPhoto value)
Sets photo.
|
String |
toString()
Custom toString method
|
castResponse, deserializeResponsedeserialize, serialize, serializepublic static final int CLASS_ID
public TLRequestMessagesEditChatPhoto()
public int getClassId()
TLObjectgetClassId in class TLObjectpublic TLAbsUpdates deserializeResponse(InputStream stream, TLContext context) throws IOException
deserializeResponse in class TLMethod<TLAbsUpdates>IOExceptionpublic int getChatId()
public void setChatId(int chatId)
public TLAbsInputChatPhoto getPhoto()
public void setPhoto(TLAbsInputChatPhoto value)
value - the valuepublic 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.