Skip to content

danog\MadelineProto\EventHandler\Filter\FilterRichMessage: Allow only [rich messages](https://core.telegram.org/bots/api#richmessage) (sent with sendRichMessage).

Back to index

Author: Daniil Gentili daniil@daniil.it

Allow only rich messages (sent with sendRichMessage).

Method list:

Methods:

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