Update users.rst

This commit is contained in:
x0x8x 2020-08-13 09:44:55 +03:00 committed by GitHub
parent e00496aa63
commit 8a3326b5d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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")))