public static class TdApi.GetCallbackQueryAnswer extends TdApi.Function<TdApi.CallbackQueryAnswer>
Returns CallbackQueryAnswer
| Modifier and Type | Field and Description |
|---|---|
long |
chatId
Identifier of the chat with the message.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
long |
messageId
Identifier of the message from which the query originated.
|
TdApi.CallbackQueryPayload |
payload
Query payload.
|
| Constructor and Description |
|---|
GetCallbackQueryAnswer()
Default constructor for a function, which sends a callback query to a bot and returns an answer.
|
GetCallbackQueryAnswer(long chatId,
long messageId,
TdApi.CallbackQueryPayload payload)
Creates a function, which sends a callback query to a bot and returns an answer.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long chatId
public long messageId
public TdApi.CallbackQueryPayload payload
public static final int CONSTRUCTOR
public GetCallbackQueryAnswer()
Returns CallbackQueryAnswer
public GetCallbackQueryAnswer(long chatId,
long messageId,
TdApi.CallbackQueryPayload payload)
Returns CallbackQueryAnswer
chatId - Identifier of the chat with the message.messageId - Identifier of the message from which the query originated. The message must not be scheduled.payload - Query payload.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object