Skip to content

Commit f11585e

Browse files
committed
upd
1 parent 95c1e4f commit f11585e

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![Foo](https://img.shields.io/badge/Version-2.17-brightgreen.svg?style=flat-square)](#versions)
1+
[![Foo](https://img.shields.io/badge/Version-2.17.1-brightgreen.svg?style=flat-square)](#versions)
22
[![Foo](https://img.shields.io/badge/Website-AlexGyver.ru-blue.svg?style=flat-square)](https://alexgyver.ru/)
33
[![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/)
44
[![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)
@@ -674,6 +674,7 @@ void loop() {
674674
- v2.15: Заплатка для кривой библиотеки ESP32
675675
- v2.16: добавлен вывод fileName, пофикшены неотправляемые сообщения в Markdown режиме
676676
- v2.17: вывод текста сообщения, на которое ответил юзер + корректная работа с menu в группах
677+
- v2.17.1: мелкий фикс https://github.com/GyverLibs/FastBot/issues/12
677678

678679
<a id="feedback"></a>
679680
## Баги и обратная связь

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=FastBot
2-
version=2.17
2+
version=2.17.1
33
author=AlexGyver <[email protected]>
44
maintainer=AlexGyver <[email protected]>
55
sentence=Simple library for Telegram bot (messages and menus)

src/FastBot.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@
8383
v2.15: Заплатка для кривой библиотеки ESP32
8484
v2.16: добавлен вывод fileName, пофикшены неотправляемые сообщения в Markdown режиме
8585
v2.17: вывод текста сообщения, на которое ответил юзер + корректная работа с menu в группах
86+
v2.17.1: мелкий фикс https://github.com/GyverLibs/FastBot/issues/12
8687
*/
8788

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

868+
String fileName;
867869
#ifndef FB_NO_OTA
868870
String file;
869-
String fileName;
870871
if (_file_ptr) _file_ptr = nullptr;
871872
if (find(str, file, textPos, F("\"file_name\":\""), '\"', IDpos)) {
872873
fileName = file;

0 commit comments

Comments
 (0)