amsync/obj.py
async def upload_media(file: str) -> str:
    """
    Send a file to be used when posting a blog

    Returns the file link
    """

    return (
        await _req(
            'post',
            '/g/s/media/upload',
            await File.get(file),
            False,
        )
    ).json['mediaValue']

    Send a file to be used when posting a blog

    Returns the file link
    
Send a file to be used when posting a blog
Returns the file link
Send a file to be used when posting a blog Returns the file link
async def upload_media(file: str) -> str:
    return (
        await _req(
            'post',
            '/g/s/media/upload',
            await File.get(file),
            False,
        )
    ).json['mediaValue']
async def upload_media ( file : str ) -> str : return ( await _req ( 'post' , '/g/s/media/upload' , await File . get ( file ) , False , ) ) . json [ 'mediaValue' ]
Send a file to be used when posting a blog
Returns the file link
Send a file to be used when posting a blog Returns the file link
"""
    Send a file to be used when posting a blog

    Returns the file link
    """
file
str