channels.ToggleForum#

class pyrogram.raw.functions.channels.ToggleForum#

Enable or disable forum functionality in a supergroup.

Details:
  • Layer: 158

  • ID: A4298B29

Parameters:
  • channel (InputChannel) – Supergroup ID.

  • enabled (bool) – Enable or disable forum functionality.

Returns:

Updates