add tgraph

This commit is contained in:
yasir 2023-02-09 14:07:34 +07:00
parent 992a55082d
commit b5617f17f1

View file

@ -7,7 +7,7 @@ from telegraph.aio import Telegraph
from utils import LOGGER
async def post_to_telegraph(is_media: bool, title, content, media=None):
async def post_to_telegraph(is_media: bool, title=None, content=None, media=None):
telegraph = Telegraph()
LOGGER.info(await telegraph.create_account(short_name='MissKaty'))
if is_media: