cotestatnt / AsyncTelegram2

Powerful, flexible and secure Arduino Telegram BOT library. Hardware independent, it can be used with any MCU capable of handling an SSL connection.
MIT License
83 stars 25 forks source link

Example formatStyle.ino not work. #139

Open CodeNameHawk opened 2 months ago

CodeNameHawk commented 2 months ago

After Try command /html or Try command /markdown, in telegram see non stop text messages from static const char html_formatted[] PROGMEM = R"EOF or from static const char markdown_formatted[] PROGMEM = R"EOF

To make it work, need to increase the buffer

define BUFFER_BIG 4096

It looks like the default size (2048) is not enough.

AsyncTelegramBot version=2.3.1, ESP8266 version 3.1.2 JSON ArduinoJSON v.6x or v.7.x