From f449a4c769e6d8750b5b605d6ce107fcc816ce13 Mon Sep 17 00:00:00 2001 From: Alex <84599917+GyverLibs@users.noreply.github.com> Date: Tue, 17 May 2022 16:51:48 +0300 Subject: [PATCH] Update FastBot.h --- src/FastBot.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FastBot.h b/src/FastBot.h index 4766e01..a109f0d 100644 --- a/src/FastBot.h +++ b/src/FastBot.h @@ -817,7 +817,7 @@ class FastBot { if (!first_name.length()) { int typePos = str.indexOf("\"type\"", textPos); - find(str, first_name, textPos, F("\"title\":\""), '\"', IDpos); + find(str, first_name, textPos, F("\"title\":\""), '\"', typePos); } if (chatIDs.length() > 0 && chatIDs.indexOf(chatID) < 0) continue; // проверка на ID чата