toggle_chat_has_protected_content


Description:

public async Ok toggle_chat_has_protected_content (int64 chat_id, bool has_protected_content) throws TDLibError

Changes the ability of users to save, forward, or copy chat content. Supported only for basic groups, supergroups and channels. Requires owner privileges

Parameters:

chat_id

Chat identifier

has_protected_content

New value of has_protected_content