J-Rios / TLG_JoinCaptchaBot

Telegram Bot to verify if users joining a group are human. The Bot sends an image captcha for each new user and kicks any of them who can't solve the captcha in a specified time.
GNU General Public License v3.0
516 stars 217 forks source link

[Question] Delete Messages behavior #88

Closed tttmmmsss closed 3 years ago

tttmmmsss commented 3 years ago

The /help and /commands say that only images sent are automatically deleted by the bot, no muting or other restrictions are put on a new unverified user since the bot does the message deleting automatically.

  1. Does the bot delete those images instantly, or is there a delay?

  2. Can it be set to delete ALL non-text messages, including gifs, videos, and stickers, or is that already implemented and just not stated anywhere?

Thank you

J-Rios commented 3 years ago

Some messages are deleted and some others not, some have a delay and some are deleted instantly...

P.D. The time delay to remove messages are configurable by code when Bot instance is deployed, so this 5 mins are the default value, but it could be modified by the Bot account owner when it deploy the Bot.

Best Regards.

tttmmmsss commented 3 years ago

Thank you that is very clear and answers all my questions!