ApiMethods.setChatPermissions(args: { chat_id: number | string; permissions: ChatPermissions; use_independent_chat_permissions?: boolean; }): true
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 administrator rights. Returns True on success.
args: { chat_id: number | string; permissions: ChatPermissions; use_independent_chat_permissions?: boolean; }