- 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
Modifier and TypeFieldDescriptionstatic final int
The result of the query.Identifier of the Web App query. -
Constructor Summary
ConstructorDescriptionSets 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
toString
Methods 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:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-