def createPage(self, title, author_name=None, author_url=None,
                   content=None, html_content=None, return_content=False):
        """Use this method to create a new Telegraph page.
        :param title: Required. Page title.
        :type title: 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 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 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)
        return self.make_method("createPage", {
            "access_token": self.access_token,
            "title": title,
            "author_name": author_name,
            "author_url": author_url,
            "content": json.dumps(content),
            "return_content": return_content
        })
Use this method to create a new Telegraph page.
        :param title: Required. Page title.
        :type title: 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 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 return_content: Optional. If true, a content field will be returned in the Page object
        :type return_content: bool

        :returns: Page object.