- Enclosing class:
- TdApi
Answers a custom query; for bots only.
Returns
Ok-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intlongIdentifier of a custom query.JSON-serialized answer to the query. -
Constructor Summary
ConstructorsConstructorDescriptionAnswers a custom query; for bots only.AnswerCustomQuery(long customQueryId, String data) Answers a custom query; for bots only.AnswerCustomQuery(DataInput input) Answers a custom query; for bots only. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toStringMethods 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. ReturnsOk -
AnswerCustomQuery
Answers a custom query; for bots only. ReturnsOk- Parameters:
customQueryId- long Identifier of a custom query.data- String JSON-serialized answer to the query.
-
AnswerCustomQuery
Answers a custom query; for bots only. ReturnsOk- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructorin classTdApi.Object
-
serialize
- Specified by:
serializein classTdApi.Object- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-