diff --git a/readthedocs/examples/users.rst b/readthedocs/examples/users.rst index 500c282d..2041adcf 100644 --- a/readthedocs/examples/users.rst +++ b/readthedocs/examples/users.rst @@ -69,6 +69,5 @@ through :tl:`UploadProfilePhoto`: from telethon.tl.functions.photos import UploadProfilePhotoRequest - await client(UploadProfilePhotoRequest( - await client.upload_file('/path/to/some/file') - ))) + await client(UploadProfilePhotoRequest(await client.upload_file("/path/to/some/file"))) +