diff --git a/td/generate/scheme/td_api.tl b/td/generate/scheme/td_api.tl index d6c47b8d7..912c01c9f 100644 --- a/td/generate/scheme/td_api.tl +++ b/td/generate/scheme/td_api.tl @@ -2597,7 +2597,7 @@ messageBotWriteAccessAllowed web_app:webApp = MessageContent; //@description Data from a Web App has been sent to a bot @button_text Text of the keyboardButtonTypeWebApp button, which opened the Web App messageWebAppDataSent button_text:string = MessageContent; -//@description Data from a Web App has been received; for bots only @button_text Text of the keyboardButtonTypeWebApp button, which opened the Web App @data Received data +//@description Data from a Web App has been received; for bots only @button_text Text of the keyboardButtonTypeWebApp button, which opened the Web App @data The data messageWebAppDataReceived button_text:string data:string = MessageContent; //@description Telegram Passport data has been sent to a bot @types List of Telegram Passport element types sent @@ -3321,7 +3321,7 @@ speechRecognitionResultPending partial_text:string = SpeechRecognitionResult; //@description The speech recognition successfully finished @text Recognized text speechRecognitionResultText text:string = SpeechRecognitionResult; -//@description The speech recognition failed @error Received error +//@description The speech recognition failed @error Recognition error speechRecognitionResultError error:error = SpeechRecognitionResult; @@ -6589,7 +6589,7 @@ getWebAppUrl bot_user_id:int53 url:string theme:themeParameters application_name //@description Sends data received from a keyboardButtonTypeWebApp Web App to a bot //@bot_user_id Identifier of the target bot //@button_text Text of the keyboardButtonTypeWebApp button, which opened the Web App -//@data Received data +//@data The data sendWebAppData bot_user_id:int53 button_text:string data:string = Ok; //@description Informs TDLib that a Web App is being opened from attachment menu, a botMenuButton button, an internalLinkTypeAttachmentMenuBot link, or an inlineKeyboardButtonTypeWebApp button. diff --git a/td/telegram/NotificationSettingsManager.cpp b/td/telegram/NotificationSettingsManager.cpp index 2ecbcde3f..7d413b177 100644 --- a/td/telegram/NotificationSettingsManager.cpp +++ b/td/telegram/NotificationSettingsManager.cpp @@ -1158,7 +1158,7 @@ Result NotificationSettingsManager::get_ringtone( telegram_api::object_ptr &&ringtone) const { int32 document_id = ringtone->get_id(); if (document_id == telegram_api::documentEmpty::ID) { - return Status::Error("Received an empty ringtone"); + return Status::Error("Receive an empty ringtone"); } CHECK(document_id == telegram_api::document::ID); diff --git a/tdutils/td/utils/port/detail/Iocp.cpp b/tdutils/td/utils/port/detail/Iocp.cpp index 546765d1b..be07f564c 100644 --- a/tdutils/td/utils/port/detail/Iocp.cpp +++ b/tdutils/td/utils/port/detail/Iocp.cpp @@ -38,7 +38,7 @@ void Iocp::loop() { callback->on_iocp(bytes, overlapped); } else { if (overlapped != nullptr) { - auto error = OS_ERROR("Received from IOCP"); + auto error = OS_ERROR("Receive IOCP error"); auto callback = reinterpret_cast(key); CHECK(callback != nullptr); callback->on_iocp(std::move(error), overlapped);