* @method string getId() Unique identifier for this query
15
* @method User getFrom() Sender
16
* @method Location getLocation() Optional. Sender location, only for bots that request user location
17
* @method string getQuery() Text of the query (up to 512 characters)
18
* @method string getOffset() Offset of the results to be returned, can be controlled by the bot
19
* @method string getChatType() Optional. Type of the chat, from which the inline query was sent. Can be either “sender” for a private chat with the inline query sender, “private”, “group”, “supergroup”, or “channel”. The chat type should be always known for requests sent from official clients and most third-party clients, unless the request was sent from a secret chat
20
*/
21
class InlineQuery extends Entity
22
{
23
24
/**
25
* Answer this inline query with the passed results.
26
*
27
* @param InlineQueryResult[] $results
28
* @param array $data
29
*
30
* @return Response
31
*/
32
public function answer(array $results, array $data = []): Response