diff --git a/src/danog/MadelineProto/TL/TLConstructors.php b/src/danog/MadelineProto/TL/TLConstructors.php index 9bf850e1..8542d43c 100644 --- a/src/danog/MadelineProto/TL/TLConstructors.php +++ b/src/danog/MadelineProto/TL/TLConstructors.php @@ -71,7 +71,7 @@ class TLConstructors } } if (!isset($chosenid)) { - return false; + return $this->findByPredicate($predicate); } $constructor = $this->by_id[$chosenid]; $constructor['id'] = $chosenid;