set_chat_protected_content()¶ Client.set_chat_protected_content()¶ Set the chat protected content setting. Usable by Users Bots Parameters:¶ chat_id (int | str) – Unique identifier (int) or username (str) of the target chat. You can also use chat public link in form of t.me/<username> (str). enabled (bool) – Pass True to enable the protected content setting, False to disable. Returns:¶ bool – On success, True is returned.