Skip to content

Commit

Permalink
upd
Browse files Browse the repository at this point in the history
  • Loading branch information
GyverLibs committed Jun 27, 2022
1 parent 95c1e4f commit f11585e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Foo](https://img.shields.io/badge/Version-2.17-brightgreen.svg?style=flat-square)](#versions)
[![Foo](https://img.shields.io/badge/Version-2.17.1-brightgreen.svg?style=flat-square)](#versions)
[![Foo](https://img.shields.io/badge/Website-AlexGyver.ru-blue.svg?style=flat-square)](https://alexgyver.ru/)
[![Foo](https://img.shields.io/badge/%E2%82%BD$%E2%82%AC%20%D0%9D%D0%B0%20%D0%BF%D0%B8%D0%B2%D0%BE-%D1%81%20%D1%80%D1%8B%D0%B1%D0%BA%D0%BE%D0%B9-orange.svg?style=flat-square)](https://alexgyver.ru/support_alex/)
[![Foo](https://img.shields.io/badge/README-ENGLISH-blueviolet.svg?style=flat-square)](https://github-com.translate.goog/GyverLibs/FastBot?_x_tr_sl=ru&_x_tr_tl=en)
Expand Down Expand Up @@ -674,6 +674,7 @@ void loop() {
- v2.15: Заплатка для кривой библиотеки ESP32
- v2.16: добавлен вывод fileName, пофикшены неотправляемые сообщения в Markdown режиме
- v2.17: вывод текста сообщения, на которое ответил юзер + корректная работа с menu в группах
- v2.17.1: мелкий фикс https://github.com/GyverLibs/FastBot/issues/12

<a id="feedback"></a>
## Баги и обратная связь
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=FastBot
version=2.17
version=2.17.1
author=AlexGyver <[email protected]>
maintainer=AlexGyver <[email protected]>
sentence=Simple library for Telegram bot (messages and menus)
Expand Down
3 changes: 2 additions & 1 deletion src/FastBot.h
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@
v2.15: Заплатка для кривой библиотеки ESP32
v2.16: добавлен вывод fileName, пофикшены неотправляемые сообщения в Markdown режиме
v2.17: вывод текста сообщения, на которое ответил юзер + корректная работа с menu в группах
v2.17.1: мелкий фикс https://github.com/GyverLibs/FastBot/issues/12
*/

/*
Expand Down Expand Up @@ -864,9 +865,9 @@ class FastBot {
find(str, date, textPos, F("\"date\":"), ',', IDpos);
bool reply = find(str, F("\"reply_to_message\""), textPos, IDpos);

String fileName;
#ifndef FB_NO_OTA
String file;
String fileName;
if (_file_ptr) _file_ptr = nullptr;
if (find(str, file, textPos, F("\"file_name\":\""), '\"', IDpos)) {
fileName = file;
Expand Down

0 comments on commit f11585e

Please sign in to comment.