diff --git a/td/generate/scheme/td_api.tl b/td/generate/scheme/td_api.tl index 31481fd4d..adcf284be 100644 --- a/td/generate/scheme/td_api.tl +++ b/td/generate/scheme/td_api.tl @@ -623,15 +623,15 @@ businessConnectedBot bot_user_id:int53 recipients:businessRecipients can_reply:B //@description Describes settings for a business account intro //@title Title text of the intro -//@param_description Description text of the intro +//@message Message text of the intro //@sticker Greeting sticker of the intro; may be null if none -businessIntro title:string description:string sticker:sticker = BusinessIntro; +businessIntro title:string message:string sticker:sticker = BusinessIntro; //@description Describes settings for a business account intro to set //@title Title text of the intro -//@param_description Description text of the intro +//@message Message text of the intro //@sticker Greeting sticker of the intro; pass null if none. The sticker must belong to a sticker set and must not be a custom emoji -inputBusinessIntro title:string description:string sticker:InputFile = InputBusinessIntro; +inputBusinessIntro title:string message:string sticker:InputFile = InputBusinessIntro; //@description Describes an interval of time when the business is open //@start_minute The first minute of the interval since start of the week; 0-7*24*60 diff --git a/td/telegram/BusinessIntro.cpp b/td/telegram/BusinessIntro.cpp index 14238647a..e94d6347d 100644 --- a/td/telegram/BusinessIntro.cpp +++ b/td/telegram/BusinessIntro.cpp @@ -27,7 +27,7 @@ BusinessIntro::BusinessIntro(Td *td, td_api::object_ptrtitle_); - description_ = std::move(intro->description_); + description_ = std::move(intro->message_); auto r_file_id = td->file_manager_->get_input_file_id(FileType::Sticker, intro->sticker_, DialogId(), true, false); auto file_id = r_file_id.is_ok() ? r_file_id.move_as_ok() : FileId(); if (file_id.is_valid()) {