Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Don't let member to send message in telegram group

I'm looking for a way in telegram group that don't let member to send message or, delete message after a person send.

Is it possible to create a bot like this how help admins to stop chatting after start the bot? Is there any other way to do this?

like image 763
Ashkan Avatar asked Jan 07 '17 12:01

Ashkan


1 Answers

Now you can do this.

Restriction from chatting in group:

Now you can achieve this with restrictChatMember() Bot API method.

Deletion of users' messages:

For deletion use this method: deleteMessage()

DON'T forget to grant admin rights to your bot.

like image 59
woozly Avatar answered Jan 02 '23 20:01

woozly