Improve field name.
This commit is contained in:
parent
74b3c23e4b
commit
e774ddab6e
@ -623,15 +623,15 @@ businessConnectedBot bot_user_id:int53 recipients:businessRecipients can_reply:B
|
|||||||
|
|
||||||
//@description Describes settings for a business account intro
|
//@description Describes settings for a business account intro
|
||||||
//@title Title text of the 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
|
//@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
|
//@description Describes settings for a business account intro to set
|
||||||
//@title Title text of the 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; pass null if none. The sticker must belong to a sticker set and must not be a custom emoji
|
//@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
|
//@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
|
//@start_minute The first minute of the interval since start of the week; 0-7*24*60
|
||||||
|
@ -27,7 +27,7 @@ BusinessIntro::BusinessIntro(Td *td, td_api::object_ptr<td_api::inputBusinessInt
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
title_ = std::move(intro->title_);
|
title_ = std::move(intro->title_);
|
||||||
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 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();
|
auto file_id = r_file_id.is_ok() ? r_file_id.move_as_ok() : FileId();
|
||||||
if (file_id.is_valid()) {
|
if (file_id.is_valid()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user