public static class TdApi.GetCallbackQueryAnswer extends TdApi.Function
Returns CallbackQueryAnswer
TdApi.Function.Constructors
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() |
toString
public 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.payload
- Query payload.public int getConstructor()
getConstructor
in class TdApi.Function