danog\MadelineProto\EventHandler\Filter\FilterRegexMatchAll
Author: Daniil Gentili daniil@daniil.it
Allow only messages or button queries matching the specified regex.
Method list:
__construct(non-empty-string $regex, int $flags = 0, int $offset = 0)
apply(\danog\MadelineProto\EventHandler\Update $update): bool
initialize(\danog\MadelineProto\EventHandler $API): \danog\MadelineProto\EventHandler\Filter\Filter
fromReflectionType(\ReflectionType $type): \danog\MadelineProto\EventHandler\Filter\Filter
Methods:
__construct(non-empty-string $regex, int $flags = 0, int $offset = 0)
Parameters:
$regex
:non-empty-string
$flags
:int
$offset
:int
See also:
non-empty-string
apply(\danog\MadelineProto\EventHandler\Update $update): bool
Parameters:
$update
:\danog\MadelineProto\EventHandler\Update
See also:
initialize(\danog\MadelineProto\EventHandler $API): \danog\MadelineProto\EventHandler\Filter\Filter
Run some initialization logic, optionally returning a new filter to replace the current one.
Parameters:
$API
:\danog\MadelineProto\EventHandler
See also:
fromReflectionType(\ReflectionType $type): \danog\MadelineProto\EventHandler\Filter\Filter
Parameters:
$type
:\ReflectionType
See also:
\ReflectionType
Generated by danog/phpdoc