danog\MadelineProto\EventHandler\Filter\FilterBotCommand
Author: Daniil Gentili daniil@daniil.it
Allow only messages containing the specified command, optionally postfixed with the bot’s username.
Method list:
initialize(\danog\MadelineProto\EventHandler $API): \danog\MadelineProto\EventHandler\Filter\Filter__construct(string $command)apply(\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:
__construct(string $command)
Parameters:
$command:string
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