Reputation: 21
#include "esp_camera.h"
#include <UniversalTelegramBot.h>
How to Convert from:
fb = esp_camera_fb_get();
by something accepted by Telegram
e.g.
String sent = bot.sendPhoto(chat_id, ....
or
String sent = bot.sendPhotoByBinary(chat_id, ....
Upvotes: 1
Views: 1931
Reputation: 66
You can try to save the image to SD card and then send photo using the bot api. See more: save to sd card, send photo.
Upvotes: 0