Telegram bots --- A bot to limit the outgoing messages in a supergroup as Admin!

Hi folks,

I would like to proram my bot in a way to limit the outgoing messages on my Supergroup in a way that when I send:

“block” it starts to remove the outgoing messages from the users of my group.

What I have done so far? Using the BotFather created and named my bot. I am interested to learn NodeJS or Java to program my bot, However all othre languages also welcome! 

Could someone help me creating this feature for my group?

I would guess it is pretty simple as I know there must be such method somewhere in the library. As this is my first bot I would like to know how I can implement NodeJS or Other programs on Telegram.

Is there any shortcut to learn this as quick as possible?

Thank you!