Fix example typo (#1020)

This commit is contained in:
noreph 2022-06-20 17:41:10 +08:00 committed by GitHub
parent caa26b2c6a
commit 34ffc4991a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -131,7 +131,7 @@ class SendPhoto:
await app.send_photo("me", "photo.jpg")
# Send photo by uploading from URL
await app.send_photo("me", "https://example.com/example.jpg)
await app.send_photo("me", "https://example.com/example.jpg")
# Add caption to a photo
await app.send_photo("me", "photo.jpg", caption="Caption")