From 45f46c60f6253a4b7c0cebf047983dd7cfce1683 Mon Sep 17 00:00:00 2001 From: Andrea Giove Date: Wed, 6 Apr 2016 18:26:16 +0200 Subject: Added certificate to setWebhook method --- include/tgbot/Api.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include/tgbot/Api.h') 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. -- cgit v1.2.3