document = await app.upload_media(f"./sample.pdf")
ERROR: Only io.IOBase, multidict and (name, file) pairs allowed, use .add_field() for passing more complex parameters, got <MultipartEncoder: {'file': ('./sample.pdf', <_io.BufferedReader name='/sample.pdf'>, 'application/pdf'), 'messaging_product': 'whatsapp', 'type': 'application/pdf'}>
document = await app.upload_media(f"./sample.pdf")
ERROR: Only io.IOBase, multidict and (name, file) pairs allowed, use .add_field() for passing more complex parameters, got <MultipartEncoder: {'file': ('./sample.pdf', <_io.BufferedReader name='/sample.pdf'>, 'application/pdf'), 'messaging_product': 'whatsapp', 'type': 'application/pdf'}>