Link Search Menu Expand Document

danog\MadelineProto\EventHandler\Filter\FilterFromSenders

Back to index

Author: Daniil Gentili daniil@daniil.it

Allow incoming or outgoing group messages made by a certain list of senders.

Method list:

Methods:

__construct(string|int ...$idOrUsername)

Parameters:

  • ...$idOrUsername: 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