messages.ToggleNoForwards#

class pyrogram.raw.functions.messages.ToggleNoForwards[source]#

Enable or disable content protection on a channel or chat

Details:
  • Layer: 224

  • 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