• Update forum settings of a supergroup.

    Only owner of the supergroup can change this setting.

    Parameters

    • client: ITelegramClient
    • chatId: InputPeerLike

      Chat ID or username

    • settings: null | { isForum: boolean; threadsMode: "tabs" | "list" }

      New settings. null is a shorthand for { isForum: false }

      • null
      • { isForum: boolean; threadsMode: "tabs" | "list" }
        • isForum: boolean

          Whether the supergroup should be a forum

        • threadsMode: "tabs" | "list"

    Returns Promise<void>