code: def groups_set_read_only(self, room_id, read_only, **kwargs):
          
          return self.__call_api_post('groups.setReadOnly', roomId=room_id, readOnly=bool(read_only), kwargs=kwargs)
docs: Sets whether the group is read only or not.