-
-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spam Filter Allows New Type of Spam #160
Comments
have you tired to turn on "image-only" check?
|
Yes |
Yes, and? I would guess it didn't help? If this is the case, I would need some examples of those messages, as I have never seen them in real life and am not sure what all of this is about. Feel free to forward one of those to my TG (umputun). |
@paskal any bright ideas? This message is somewhat different, but in the log line provided above, I see nothing that indicates it. The version of |
We started to get more and more spam consisting of videos in a circle (Telegram video messages). |
I'm guessing the current version of tbapi is not reading some extra fields that contain the data of this new kind of message Debugging the payload directly from tbapi can probably provide some guidance |
Enabled
Noticed that the JSON payload has in fact a new field named Also, the latest I think that the fastest way to deal with this type of spam is:
And then proceed to move from What are your thoughts, @umputun? |
Maybe this one will do: https://github.com/OvyFlash/telegram-bot-api/blob/master/types.go#L556-L629 I'll look into adopting this library. |
Enabling META_VIDEO_ONLY check doesn't stop circle videos from being sent. |
Also, please see #176 |
This fork is conceptually close to the original code, but it is not compatible on multiple levels. I have tried to adopt it, and it seems possible; however, all the parts communicating with this library should be carefully adjusted. |
@paskal what do you think about forking the lib and adding new types of messages without breaking compatibility? To me it sounds like a simplest solution |
I've seen too many abandoned Telegram libraries for go the path creating another one. Today it's stories and tomorrow with the new API release it would be something else: I would prefer just staying on some up-to-date library. Let me give migration a try. |
I try to keep my library always up to date. You can try https://github.com/go-telegram/bot ;) |
#180 switches to https://github.com/OvyFlash/telegram-bot-api/, it will be merged soon. |
after the last merge the detection should be working as a part of video-only meta-check |
In the last two days, a message has been sent to the chat
This message is not filtered in any way. Even if this message is sent to the admin filter chat
It turns out that this message is a story message.
I have logged this message:
Most likely, you do not have a filter set up for this type of message
I can send you a sample of this message. If it's not too much trouble, write to me in telegram https://t.me/PetrAlexeev
The text was updated successfully, but these errors were encountered: