Link Search Menu Expand Document

danog\MadelineProto\EventHandler\Filter\FilterSender

Back to index

Author: Daniil Gentili daniil@daniil.it

Allow incoming or outgoing group messages made by a certain sender.

Method list:

Methods:

__construct(string|int $peer)

Parameters:

  • $peer: string|int

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