From 34ffc4991ae1c3ce17ae39bbdedf722269644f3b Mon Sep 17 00:00:00 2001 From: noreph <60476630+noreph@users.noreply.github.com> Date: Mon, 20 Jun 2022 17:41:10 +0800 Subject: [PATCH] Fix example typo (#1020) --- pyrogram/methods/messages/send_photo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyrogram/methods/messages/send_photo.py b/pyrogram/methods/messages/send_photo.py index 836ce1b1..6add68cd 100644 --- a/pyrogram/methods/messages/send_photo.py +++ b/pyrogram/methods/messages/send_photo.py @@ -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")