Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when verifying Compile #58

Open
jimthedj65 opened this issue May 31, 2024 · 2 comments
Open

Error when verifying Compile #58

jimthedj65 opened this issue May 31, 2024 · 2 comments

Comments

@jimthedj65
Copy link

jimthedj65 commented May 31, 2024

I have revisited this after a few years and for some reason version 8.9 on Arduino 2.3.2 I get the following error when verify/compile

Using ESP-EYE with correct pinouts and correct led pin 22 for the flash.

line 438, 1185, 1189, 1208 Compilation error: 'class UniversalTelegramBot' has no member named 'sendMultipartFormDataToTelegramWithCaption'; did you mean 'sendMultipartFormDataToTelegram'?

Any idea what this could be, is it related to a newer version of Arduino

@jameszah
Copy link
Owner

jameszah commented Jun 2, 2024

I think you have the UniveralTelegramBot library installed -- which does not have the ..withCaption routine, instead of bringing all the modules of the program -- which does have the ..withCaption routine.

image

Have you also replaced the quotes with the angle brackets?

//#include <UniversalTelegramBot.h>
#include "UniversalTelegramBot.h"  // use local library which is a modified copy of an old version

There is a much newer version with a pre-compiled installer, but no dicumentation for that yet. I suppose it wouldn;t work with the esp-eye anyway.

@jameszah
Copy link
Owner

jameszah commented Jun 2, 2024

Same issue with ver 8.9 -- dont think arduino version is an issue, other than it has its own libraries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants