TLG_JoinCaptchaBot icon indicating copy to clipboard operation
TLG_JoinCaptchaBot copied to clipboard

[Request] Remove "TheJoinCaptchaBot removed USER" messages

Open J-Rios opened this issue 4 years ago • 0 comments

Remove "TheJoinCaptchaBot removed USER" messages

Description

Some users wants that Join Captcha Bot also automatically delete the "TheJoinCaptchaBot removed USER" message that appears in a group when a user has been kicked.

Context

Seems that these messages are sent by Telegram when the group is new and considered "small" (not sure if less than 200 members on the group). Once a group has more than 200 members, Telegram stop considering it as "small", and then this message won't appears. So, this issue only apply in "small groups".

Currently, JoinCaptchaBot ignore notifications of users that leave the group (kick/ban or the user left by itself). To detect this messages and remove it, this notifications needs to be considered and handled (group member status change), then check if a message exists (just in "small groups"), and get the message ID to delete it.

J-Rios avatar Aug 28 '21 11:08 J-Rios