Skip to content

Commit 0f05a91

Browse files
committed
Issue #5: BUGFIZ just introduced
1 parent 0667227 commit 0f05a91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/UniversalTelegramBot.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -825,7 +825,7 @@ bool UniversalTelegramBot::getFile(String *file_path, long *file_size, String fi
825825

826826
if (!error) {
827827
if (doc.containsKey("result")) {
828-
*file_path = F("https://api.telegram.org/file/bot");
828+
*file_path = F("https://api.telegram.org/file/");
829829
*file_path += buildCommand(doc["result"]["file_path"]);
830830
*file_size = doc["result"]["file_size"].as<long>();
831831
return true;

0 commit comments

Comments
 (0)