def editPage(self, path, title, content=None, html_content=None,
                 author_name=None, author_url=None, return_content=False):
        """Use this method to edit an existing Telegraph page.

        :param path: Required. Path to the page.
        :type path: str

        :param title: Required. Page title.
        :type title: str

        :param content: Required. Content of the page in NODES format.

        :param html_content: Optional. Content of the page in HTML format.
        :type html_content: str

        :param author_name: Optional. Author name, displayed below the article's title.
        :type author_name: str

        :param author_url: Optional. Profile link, opened when users click on the author's name below the title.
        Can be any link, not necessarily to a Telegram profile or channel.
        :type author_url: str

        :param return_content: Optional. If true, a content field will be returned in the Page object.
        :type return_content: bool

        :returns: Page object.
        """
        if content is None:
            content = html_to_nodes(html_content)
        if path is None:
            raise TelegraphAPIException("Error while executing editPage: "
                                        "PAGE_NOT_FOUND")
        r = requests.post(BASE_URL + "editPage/" + path, data={
            "access_token": self.access_token,
            "title": title,
            "content": json.dumps(content),
            "author_name": author_name,
            "author_url": author_url,
            "return_content": return_content
        })
        if r.json()['ok'] is not True:
            raise TelegraphAPIException("Error while executing editPage: " +
                                        r.json()['error'])
        return r.json()['result']
Use this method to edit an existing Telegraph page.

        :param path: Required. Path to the page.
        :type path: str

        :param title: Required. Page title.
        :type title: str

        :param content: Required. Content of the page in NODES format.

        :param html_content: Optional. Content of the page in HTML format.
        :type html_content: str

        :param author_name: Optional. Author name, displayed below the article's title.
        :type author_name: str

        :param author_url: Optional. Profile link, opened when users click on the author's name below the title.
        Can be any link, not necessarily to a Telegram profile or channel.
        :type author_url: str

        :param return_content: Optional. If true, a content field will be returned in the Page object.
        :type return_content: bool

        :returns: Page object.