aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/scripts/test_ports/vcpkg-ci-tgbot-cpp/project/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/scripts/test_ports/vcpkg-ci-tgbot-cpp/project/main.cpp')
-rw-r--r--vcpkg/scripts/test_ports/vcpkg-ci-tgbot-cpp/project/main.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/vcpkg/scripts/test_ports/vcpkg-ci-tgbot-cpp/project/main.cpp b/vcpkg/scripts/test_ports/vcpkg-ci-tgbot-cpp/project/main.cpp
new file mode 100644
index 0000000..dfe54c5
--- /dev/null
+++ b/vcpkg/scripts/test_ports/vcpkg-ci-tgbot-cpp/project/main.cpp
@@ -0,0 +1,10 @@
+#include <tgbot/tgbot.h>
+using namespace TgBot;
+int main()
+{
+ CurlHttpClient curlHttpClient;
+ Bot bot("TOKEN", curlHttpClient);
+ bot.getApi().deleteWebhook();
+ auto fileContent = FileTools::read("file.txt");
+ return 0;
+}