public class TLRequestChannelsEditAdmin extends TLMethod<TLAbsUpdates>
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID
The constant CLASS_ID.
|
| Constructor and Description |
|---|
TLRequestChannelsEditAdmin()
Instantiates a new TL request channel edit admin
|
| Modifier and Type | Method and Description |
|---|---|
void |
deserializeBody(InputStream stream,
TLContext context)
Deserializing object from stream and context
|
TLAbsUpdates |
deserializeResponse(InputStream stream,
TLContext context) |
TLAbsInputChannel |
getChannel() |
int |
getClassId()
Getting TL Class identification
|
TLAbsChannelParticipantRole |
getRole() |
TLAbsInputUser |
getUserId() |
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
void |
setChannel(TLAbsInputChannel channel) |
void |
setRole(TLAbsChannelParticipantRole role) |
void |
setUserId(TLAbsInputUser userId) |
String |
toString()
Custom toString method
|
castResponse, deserializeResponsedeserialize, serialize, serializepublic static final int CLASS_ID
public TLRequestChannelsEditAdmin()
public int getClassId()
TLObjectgetClassId in class TLObjectpublic TLAbsUpdates deserializeResponse(InputStream stream, TLContext context) throws IOException
deserializeResponse in class TLMethod<TLAbsUpdates>IOExceptionpublic TLAbsInputChannel getChannel()
public void setChannel(TLAbsInputChannel channel)
public TLAbsInputUser getUserId()
public void setUserId(TLAbsInputUser userId)
public TLAbsChannelParticipantRole getRole()
public void setRole(TLAbsChannelParticipantRole role)
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.