Universal-Arduino-Telegram-Bot
Universal-Arduino-Telegram-Bot copied to clipboard
sendDocument does not work if do not wait for the complete response
if (responseReceived) {
if (_debug) {
Serial.println();
Serial.println(body);
Serial.println();
}
break;
}
Hi, to solve the problem you must set a delay(100); instead of while loop waiting telegram response.