danog\MadelineProto\EventHandler\Filter\FilterFromAdmin
Author: Daniil Gentili daniil@daniil.it
Allow only messages coming from the admin (defined as the peers returned by getReportPeers).
Method list:
initialize(\danog\MadelineProto\EventHandler $API): \danog\MadelineProto\EventHandler\Filter\Filterapply(\danog\MadelineProto\EventHandler\Update $update): boolfromReflectionType(\ReflectionType $type): \danog\MadelineProto\EventHandler\Filter\Filter
Methods:
initialize(\danog\MadelineProto\EventHandler $API): \danog\MadelineProto\EventHandler\Filter\Filter
Parameters:
$API:\danog\MadelineProto\EventHandler
See also:
apply(\danog\MadelineProto\EventHandler\Update $update): bool
Parameters:
$update:\danog\MadelineProto\EventHandler\Update
See also:
fromReflectionType(\ReflectionType $type): \danog\MadelineProto\EventHandler\Filter\Filter
Parameters:
$type:\ReflectionType
See also:
\ReflectionType
Generated by danog/phpdoc