- Enclosing class:
- TdApi
Sets the result of interaction with
a Web App and sends corresponding
message on behalf of the user to the
chat from which the query originated;
for bots only.
Returns
SentWebAppMessage-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe result of the query.Identifier of the Web App query. -
Constructor Summary
ConstructorsConstructorDescriptionSets the result of interaction with a Web App and sends corresponding message on behalf of the user to the chat from which the query originated; for bots only.AnswerWebAppQuery(DataInput input) Sets the result of interaction with a Web App and sends corresponding message on behalf of the user to the chat from which the query originated; for bots only.AnswerWebAppQuery(String webAppQueryId, TdApi.InputInlineQueryResult result) Sets the result of interaction with a Web App and sends corresponding message on behalf of the user to the chat from which the query originated; 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
-
webAppQueryId
Identifier of the Web App query. -
result
The result of the query. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
AnswerWebAppQuery
public AnswerWebAppQuery()Sets the result of interaction with a Web App and sends corresponding message on behalf of the user to the chat from which the query originated; for bots only. ReturnsSentWebAppMessage -
AnswerWebAppQuery
Sets the result of interaction with a Web App and sends corresponding message on behalf of the user to the chat from which the query originated; for bots only. ReturnsSentWebAppMessage- Parameters:
webAppQueryId- String Identifier of the Web App query.result- InputInlineQueryResult The result of the query.
-
AnswerWebAppQuery
Sets the result of interaction with a Web App and sends corresponding message on behalf of the user to the chat from which the query originated; for bots only. ReturnsSentWebAppMessage- 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()
-