shurillu / CTBot

A simple (and easy to use) Arduino Telegram BOT Library for ESP8266/ESP32
MIT License
147 stars 34 forks source link

Parse mode in new versions ( HTML, Markdown etc.) #94

Closed hamster66 closed 2 years ago

hamster66 commented 2 years ago

The version I worked with in 2020 had the ability to switch text output modes. In modern versions, I do not see CTBotParseModeType and everything related to it. How to manage output modes in the modern version of the library?

shurillu commented 2 years ago

Hi hamster66, are you using the v 2.1.9? If the answer is yes, that's the problem ;-) The parsing mode is only available in the v3.0.0. You can find it in the v3.0.0 branch here. You have to download it and manually add to the Arduino library (overwriting the old one). Let me know if it solve your question! Cheers

Stefano

hamster66 commented 2 years ago

My mistake. Forgot to checkout v3.0.0 Sorry to bother you

shurillu commented 2 years ago

No problem ;-)