messages.ToggleNoForwards#

class pyrogram.raw.functions.messages.ToggleNoForwards#

Enable or disable content protection on a channel or chat

Details:
  • Layer: 223

  • ID: B2081A35

Parameters:
  • peer (InputPeer) – The chat or channel

  • enabled (bool) – Enable or disable content protection

  • request_msg_id (int 32-bit, optional)

Returns:

Updates