Giuseppe An
Giuseppe An

Reputation: 21

how to Send Photo take from Esp32-cam by Telegram

#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

Answers (1)

beenfrog
beenfrog

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

Related Questions