diff options
author | Andrea Giove <andreagiove@outlook.com> | 2016-04-06 18:26:16 +0200 |
---|---|---|
committer | Andrea Giove <andreagiove@outlook.com> | 2016-04-06 18:26:16 +0200 |
commit | 45f46c60f6253a4b7c0cebf047983dd7cfce1683 (patch) | |
tree | fbf00d9c991f2d41ae8c889825d5accdd2514e7d /include | |
parent | b2e4048cf9ce6d4dc4969a52cffc2ad36ec19f21 (diff) |
Added certificate to setWebhook method
Diffstat (limited to 'include')
-rw-r--r-- | include/tgbot/Api.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/tgbot/Api.h b/include/tgbot/Api.h index 66f41b5..68b8462 100644 --- a/include/tgbot/Api.h +++ b/include/tgbot/Api.h @@ -230,8 +230,7 @@ public: * Ports currently supported for Webhooks: 443, 80, 88, 8443. * @param url Optional. HTTPS url to send updates to. Use an empty string to remove webhook integration. */ - // TODO Add support to self-signed certificate - void setWebhook(const std::string& url = "") const; + void setWebhook(const std::string& url = "", const InputFile::Ptr& certificate = nullptr) const; /** * Use this method to send answers to an inline query. |