mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-29 13:27:47 +00:00
Fix example typo (#1020)
This commit is contained in:
parent
caa26b2c6a
commit
34ffc4991a
@ -131,7 +131,7 @@ class SendPhoto:
|
|||||||
await app.send_photo("me", "photo.jpg")
|
await app.send_photo("me", "photo.jpg")
|
||||||
|
|
||||||
# Send photo by uploading from URL
|
# 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
|
# Add caption to a photo
|
||||||
await app.send_photo("me", "photo.jpg", caption="Caption")
|
await app.send_photo("me", "photo.jpg", caption="Caption")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user