We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4fd2578 commit af3f597Copy full SHA for af3f597
docs/5.send.md
@@ -224,4 +224,17 @@ res2.reset();
224
fb::Result res3 = bot.sendMessage(fb::Message("hello!", "12312424353"));
225
res3.stringify(Serial);
226
res3.reset();
227
+```
228
+
229
+### HTML и Markdown
230
+Режимы текста HTML и Markdown поддерживают только конкретные теги, см. API Telegram:
231
+- [HTML](https://core.telegram.org/bots/api#html-style)
232
+- [Markdown](https://core.telegram.org/bots/api#markdownv2-style)
233
234
+Для настройки режима нужно просто указать его:
235
236
+```cpp
237
+fb::Message msg;
238
+msg.mode = fb::Message::Mode::MarkdownV2;
239
+msg.text...
240
```
0 commit comments