Regex matches, if a filter regex is present */ public ?array $matches = null; /** @internal */ public function __construct(MTProto $API, array $rawInlineQuery) { parent::__construct($API); $this->queryId = $rawInlineQuery['query_id']; $this->query = $rawInlineQuery['query']; $this->userId = $rawInlineQuery['user_id']; $this->offset = $rawInlineQuery['offset']; $this->geo = isset($rawInlineQuery['geo']) ? new GeoPoint($rawInlineQuery['geo']) : null; $this->peerType = InlineQueryPeerType::fromString($rawInlineQuery['peer_type']['_']); } }