Use this method to set default chat permissions for all members. The bot must be an administrator in the group or a supergroup for this to work and must have the can_restrict_members admin rights. Returns True on success.

post/setChatPermissions

Request body

Response

okboolean required
resultboolean required

Changes