How to prevent users to write in the chat?

I know that in the Telegram API there is a method bot.setChatPermissions(), but I don't found themselves permissions, and I need that all the users have supplied to read-only except for administrators.How to do it???

Or at least how to deny a specific user to write messages?
April 4th 20 at 00:49
2 answers
April 4th 20 at 00:51
As an option to take all id-shnik of users in the chat and in the loop to restrict access.
Here and I about the same, could you suggest how to implement this in the code - Bennett commented on April 4th 20 at 00:54
April 4th 20 at 00:53
Generally, in the channel settings or chat there is a point about messages, you can ban them even IF IT's NOT CHANGED:)

Find more questions by tags APINode.jsTelegram