Package it.tdlight.jni
Class TdApi.AnswerCustomQuery
- Enclosing class:
- TdApi
Answers a custom query; for bots only.
Returns Ok
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
long
Identifier of a custom query.JSON-serialized answer to the query. -
Constructor Summary
ConstructorDescriptionAnswers a custom query; for bots only.AnswerCustomQuery
(long customQueryId, String data) Answers a custom query; for bots only.AnswerCustomQuery
(DataInput input) -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
customQueryId
public long customQueryIdIdentifier of a custom query. -
data
JSON-serialized answer to the query. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
AnswerCustomQuery
public AnswerCustomQuery()Answers a custom query; for bots only.Returns
Ok
-
AnswerCustomQuery
Answers a custom query; for bots only.Returns
Ok
- Parameters:
customQueryId
- long Identifier of a custom query.data
- String JSON-serialized answer to the query.
-
AnswerCustomQuery
- 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()
-