T - return type of methodpublic abstract class TLMethod<T extends TLObject> extends TLObject
| Constructor and Description |
|---|
TLMethod() |
| Modifier and Type | Method and Description |
|---|---|
T |
castResponse(TLObject response) |
T |
deserializeResponse(byte[] data,
TLContext context) |
abstract T |
deserializeResponse(InputStream stream,
TLContext context) |
deserialize, deserializeBody, getClassId, serialize, serialize, serializeBody, toStringpublic T deserializeResponse(byte[] data, TLContext context) throws IOException
IOExceptionpublic abstract T deserializeResponse(InputStream stream, TLContext context) throws IOException
IOExceptionCopyright © 2017. All rights reserved.