diff options
Diffstat (limited to 'protocols/Telegram/tdlib/td/example/cpp/td_example.cpp')
-rw-r--r-- | protocols/Telegram/tdlib/td/example/cpp/td_example.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/Telegram/tdlib/td/example/cpp/td_example.cpp b/protocols/Telegram/tdlib/td/example/cpp/td_example.cpp index 3b6cf42edc..b30afa8070 100644 --- a/protocols/Telegram/tdlib/td/example/cpp/td_example.cpp +++ b/protocols/Telegram/tdlib/td/example/cpp/td_example.cpp @@ -1,5 +1,5 @@ // -// Copyright Aliaksei Levin (levlam@telegram.org), Arseny Smirnov (arseny30@gmail.com) 2014-2022 +// Copyright Aliaksei Levin (levlam@telegram.org), Arseny Smirnov (arseny30@gmail.com) 2014-2023 // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) @@ -222,8 +222,8 @@ class TdExample { if (update_new_message.message_->content_->get_id() == td_api::messageText::ID) { text = static_cast<td_api::messageText &>(*update_new_message.message_->content_).text_->text_; } - std::cout << "Got message: [chat_id:" << chat_id << "] [from:" << sender_name << "] [" << text - << "]" << std::endl; + std::cout << "Receive message: [chat_id:" << chat_id << "] [from:" << sender_name << "] [" + << text << "]" << std::endl; }, [](auto &update) {})); } @@ -242,7 +242,7 @@ class TdExample { overloaded( [this](td_api::authorizationStateReady &) { are_authorized_ = true; - std::cout << "Got authorization" << std::endl; + std::cout << "Authorization is completed" << std::endl; }, [this](td_api::authorizationStateLoggingOut &) { are_authorized_ = false; |