umputun / tg-spam

Anti-Spam bot for Telegram and anti-spam library
https://tg-spam.umputun.dev
MIT License
207 stars 36 forks source link

Spam Filter Allows New Type of Spam #160

Open MissiaL opened 3 days ago

MissiaL commented 3 days ago

In the last two days, a message has been sent to the chat image image 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. image

I have logged this message:

tg-spam  | 2024/10/24 23:53:13.966 [DEBUG] {events/listener.go:271 events.(*TelegramListener).procEvents} {"message_id":237049,"from":{"id":8063614708,"first_name":"TON"},"date":1729803193,"chat":{"id":-1001366657637,"type":"supergroup","title":"ЖК life Варшавская","username":"LifeVarshavskaya","photo":null,"location":null},"message_auto_delete_timer_changed":null,"proximity_alert_triggered":null,"voice_chat_scheduled":null,"voice_chat_started":null,"voice_chat_ended":null,"voice_chat_participants_invited":null}

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

umputun commented 3 days ago

have you tired to turn on "image-only" check?

--meta.image-only enable image only check [$META_IMAGE_ONLY]

MissiaL commented 3 days ago

Yes

umputun commented 3 days ago

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).

umputun commented 20 hours ago

@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 github.com/go-telegram-bot-api/telegram-bot-api/v5 is the latest and greatest.