tgbot-cpp
tgbot-cpp copied to clipboard
New line simbol and white space in question and answer text
std::string question = "1\n2\n3\n4\n5"; std::vectorstd::string options = {"False", "0", "1", "This\ncode\nhas\nan\nerror"};
llnulldisk What about new line in question text? Is this at all possible to do more than 3 lines?
Sorry, I still wanted to answer here. Yes, the question text is limited to a maximum of 3 lines by Telegram. In addition, you cannot force a line break with \n in an answer option. Unfortunately, the poll question and the poll options cannot be formatted in general. Telegram simply ignores this