1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-27 08:34:41 +01:00

Fix simple filters

This commit is contained in:
Daniil Gentili 2023-07-16 15:01:03 +02:00
parent befcc3ed19
commit a2d048178f
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

View File

@ -23,6 +23,6 @@ use danog\MadelineProto\EventHandler\SimpleFilter\Outgoing;
/**
* @internal An internal interface used to avoid type errors when using simple filters.
*/
interface SimpleFilters extends Incoming, Outgoing, FromAdmin, HasAudio, HasDocument, HasDocumentPhoto, HasGif, HasMedia, HasNoMedia, HasPhoto, HasRoundVideo, HasSticker, HasVideo, HasVoice, Incoming, IsForwarded, IsReply, IsReplyToSelf
interface SimpleFilters extends Incoming, Outgoing, FromAdmin, HasAudio, HasDocument, HasDocumentPhoto, HasGif, HasMedia, HasNoMedia, HasPhoto, HasRoundVideo, HasSticker, HasVideo, HasVoice, IsForwarded, IsReply, IsReplyToSelf
{
}