amsync/obj.py
async def upload_chat_icon(file: str) -> str:
    """
    Send a file to be used as chat icon

    Returns the file link
    """

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

    Send a file to be used as chat icon

    Returns the file link
    
Send a file to be used as chat icon
Returns the file link
Send a file to be used as chat icon Returns the file link
async def upload_chat_icon(file: str) -> str:
    return (
        await _req(
            'post',
            'g/s/media/upload/target/chat-cover',
            await File.get(file),
            False,
        )
    ).json['mediaValue']
async def upload_chat_icon ( file : str ) -> str : return ( await _req ( 'post' , 'g/s/media/upload/target/chat-cover' , await File . get ( file ) , False , ) ) . json [ 'mediaValue' ]
Send a file to be used as chat icon
Returns the file link
Send a file to be used as chat icon Returns the file link
"""
    Send a file to be used as chat icon

    Returns the file link
    """
file
str