summaryrefslogtreecommitdiff
path: root/include/tgbot/Api.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/tgbot/Api.h')
-rw-r--r--include/tgbot/Api.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tgbot/Api.h b/include/tgbot/Api.h
index b2f6911..bddcd87 100644
--- a/include/tgbot/Api.h
+++ b/include/tgbot/Api.h
@@ -323,7 +323,7 @@ public:
* @param fileId File identifier to get info about
* @return A File object.
*/
- File::Ptr getFile(int32_t fileId) const;
+ File::Ptr getFile(const std::string &fileId) const;
/**
* Use this method for your bot to leave a group, supergroup or channel.