public static class TdApi.AnswerWebAppQuery extends TdApi.Function<TdApi.SentWebAppMessage>
Returns SentWebAppMessage
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.InputInlineQueryResult |
result
The result of the query.
|
java.lang.String |
webAppQueryId
Identifier of the Web App query.
|
| Constructor and Description |
|---|
AnswerWebAppQuery()
Default constructor for a function, which 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(java.lang.String webAppQueryId,
TdApi.InputInlineQueryResult result)
Creates a function, which 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.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic java.lang.String webAppQueryId
public TdApi.InputInlineQueryResult result
public static final int CONSTRUCTOR
public AnswerWebAppQuery()
Returns SentWebAppMessage
public AnswerWebAppQuery(java.lang.String webAppQueryId,
TdApi.InputInlineQueryResult result)
Returns SentWebAppMessage
webAppQueryId - Identifier of the Web App query.result - The result of the query.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object