interface_webhook.h 395 B

1234567891011121314151617
  1. #ifdef ENABLE_WEBHOOK
  2. #pragma once
  3. #ifndef INTERFACE_WEBHOOK_H
  4. #define INTERFACE_WEBHOOK_H
  5. #include <string>
  6. #include <map>
  7. #include <functional>
  8. #include <ClassFlowDefineTypes.h>
  9. void WebhookInit(std::string _webhookURI, std::string _apiKey);
  10. bool WebhookPublish(std::vector<NumberPost*>* numbers);
  11. void WebhookUploadPic(ImageData *Img);
  12. #endif //INTERFACE_WEBHOOK_H
  13. #endif //ENABLE_WEBHOOK