Pass correct dialog_id.
GitOrigin-RevId: 0e81418d9ef01cc90f5550f42fe8ec26a1455c16
This commit is contained in:
parent
fda0fc0adc
commit
b4efcc6697
@ -1767,7 +1767,7 @@ static Result<InputMessageContent> create_input_message_content(
|
||||
return Status::Error(400, "Wrong correct option ID specified");
|
||||
}
|
||||
auto r_explanation =
|
||||
process_input_caption(td->contacts_manager_.get(), DialogId(), std::move(type->explanation_), is_bot);
|
||||
process_input_caption(td->contacts_manager_.get(), dialog_id, std::move(type->explanation_), is_bot);
|
||||
if (r_explanation.is_error()) {
|
||||
return r_explanation.move_as_error();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user