Skip to content

Commit adc8984

Browse files
committed
Added default caption, empty
1 parent 606424f commit adc8984

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/UniversalTelegramBot.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ class UniversalTelegramBot
7070
String sendPhotoByBinary(String chat_id, String contentType, int fileSize,
7171
MoreDataAvailable moreDataAvailableCallback,
7272
GetNextByte getNextByteCallback);
73-
String sendPhoto(String chat_id, String photo, String caption,
73+
String sendPhoto(String chat_id, String photo, String caption = "",
7474
bool disable_notification = false, int reply_to_message_id = 0, String keyboard = "");
7575

7676
int getUpdates(long offset);

0 commit comments

Comments
 (0)