# danog\MadelineProto\EventHandler\InlineQuery: An incoming inline query.

[Back to index](../../../index.html)

> Author: Daniil Gentili <daniil@daniil.it>  
  

An incoming inline query.  



## Properties
* `$queryId`: `int` Query ID
* `$query`: `string` Text of query
* `$userId`: `int` User that sent the query
* `$offset`: `string` Offset to navigate through results
* `$geo`: `?danog\MadelineProto\EventHandler\Media\GeoPoint` Attached geolocation
* `$peerType`: `danog\MadelineProto\EventHandler\InlineQueryPeerType` Type of the chat from which the inline query was sent.
* `$matches`: `list<string>` 
Regex matches, if a filter regex is present
* `$matchesAll`: `array<array-key, (array<array-key, (list{string, int} | null | string)> | mixed)>` 
Regex matches, if a filter multiple match regex is present
---
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
