* @method string getId() Unique identifier for this query
14
* @method User getFrom() Sender
15
* @method Message getMessage() Optional. Message with the callback button that originated the query. Note that message content and message date will not be available if the message is too old
16
* @method string getInlineMessageId() Optional. Identifier of the message sent via the bot in inline mode, that originated the query
17
* @method string getChatInstance() Global identifier, uniquely corresponding to the chat to which the message with the callback button was sent. Useful for high scores in games.
18
* @method string getData() Data associated with the callback button. Be aware that a bad client can send arbitrary data in this field
19
* @method string getGameShortName() Optional. Short name of a Game to be returned, serves as the unique identifier for the game
20
*/
21
class CallbackQuery extends Entity
22
{
23
24
/**
25
* Answer this callback query.
26
*
27
* @param array $data
28
*
29
* @return Response
30
*/
31
public function answer(array $data = []): Response