From 1d0e1101261048fa29185acb3a74ab5dd307a321 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Sat, 1 Feb 2020 15:49:07 +0100 Subject: [PATCH] Fix wrong type hint in docs for send_photo --- pyrogram/client/methods/messages/send_photo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyrogram/client/methods/messages/send_photo.py b/pyrogram/client/methods/messages/send_photo.py index 8693f764..f5a5e6e0 100644 --- a/pyrogram/client/methods/messages/send_photo.py +++ b/pyrogram/client/methods/messages/send_photo.py @@ -64,7 +64,7 @@ class SendPhoto(BaseClient): A valid file reference obtained by a recently fetched media message. To be used in combination with a file id in case a file reference is needed. - caption (``bool``, *optional*): + caption (``str``, *optional*): Photo caption, 0-1024 characters. parse_mode (``str``, *optional*):