- Enclosing class:
- TdApi
Sends a custom request; for bots only.
Returns
CustomRequestResult
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
The method name.JSON-serialized method parameters. -
Constructor Summary
ConstructorDescriptionSends a custom request; for bots only.SendCustomRequest
(DataInput input) Sends a custom request; for bots only.SendCustomRequest
(String method, String parameters) Sends a custom request; for bots only. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
method
The method name. -
parameters
JSON-serialized method parameters. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
SendCustomRequest
public SendCustomRequest()Sends a custom request; for bots only. ReturnsCustomRequestResult
-
SendCustomRequest
Sends a custom request; for bots only. ReturnsCustomRequestResult
- Parameters:
method
- String The method name.parameters
- String JSON-serialized method parameters.
-
SendCustomRequest
Sends a custom request; for bots only. ReturnsCustomRequestResult
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-