pyrogram / tgcrypto

Fast and Portable Cryptography Extension Library for Pyrogram

Home Page:https://pyrogram.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bug filter

Alireza-Ghavabesh opened this issue · comments

i want to filter one channel from many channels in my account and i found i can do this with custom filters... .
my custom filter look like this:

func(client, message):
if message.chat.id == -xxxxxxxxxxxx:
return True
f = Filters.create(func)

but my filter working for all messages of this channel, no "new incoming messages"
i want Filter "just new incoming post"
now how i can fix it ?

my problem fixed.
This problem was due to inline buttons and comments.