D
D
d3m0l2021-12-11 19:55:36
Python
d3m0l, 2021-12-11 19:55:36

How to ban users who write on behalf of channels?

In connection with the latest update, it became possible to write on behalf of the channels, and so .. Question: how to ban users who write on behalf of the channels?

Having searched for information on the Internet, all I could find is sender_chat and banChatSenderChat

I need to check if a person writes on behalf of the channel and ban him

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Melancholia_544, 2021-12-12
@Melancholia_544

Personally, I use the @GroupHelpBot bot that instantly deletes messages from users who write on behalf of the channel. The feature is called "users in masks". If a channel is attached to the group, then I recommend adding it to the exceptions

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question