From 04361155aaa2966af5466b1352ee9fc2ab7e8fe3 Mon Sep 17 00:00:00 2001 From: Harshil <37377066+harshil21@users.noreply.github.com> Date: Tue, 7 Dec 2021 19:01:38 +0530 Subject: [PATCH] fix spelling --- telegram-bot-api/Client.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/telegram-bot-api/Client.cpp b/telegram-bot-api/Client.cpp index 987c722..9d8f85f 100644 --- a/telegram-bot-api/Client.cpp +++ b/telegram-bot-api/Client.cpp @@ -3822,12 +3822,12 @@ void Client::check_chat(Slice chat_id_str, AccessRights access_rights, PromisedQ template void Client::check_chat_no_fail(Slice chat_id_str, PromisedQueryPtr query, OnSuccess on_success) { if (chat_id_str.empty()) { - return fail_query(400, "Bad Request: sedner_chat_id is empty", std::move(query)); + return fail_query(400, "Bad Request: sender_chat_id is empty", std::move(query)); } auto r_chat_id = td::to_integer_safe(chat_id_str); if (r_chat_id.is_error()) { - return fail_query(400, "Bad Request: sedner_chat_id is not a valid Integer", std::move(query)); + return fail_query(400, "Bad Request: sender_chat_id is not a valid Integer", std::move(query)); } auto chat_id = r_chat_id.move_as_ok();