aboutsummaryrefslogtreecommitdiffhomepage
path: root/td/telegram/Payments.cpp
diff options
context:
space:
mode:
authorlevlam <levlam@telegram.org>2024-06-24 16:13:40 +0300
committerlevlam <levlam@telegram.org>2024-06-24 16:13:40 +0300
commit960f40704594f36f260ede17cde5f222948c5fa4 (patch)
treeb85fc121e5c1ffe0b9a39551efc30ce9859296fb /td/telegram/Payments.cpp
parent0e4c9d36411f4b6ee7dd759475367ae2947a8ab6 (diff)
Add td_api::inputMessageExtendedMedia.
Diffstat (limited to 'td/telegram/Payments.cpp')
-rw-r--r--td/telegram/Payments.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/td/telegram/Payments.cpp b/td/telegram/Payments.cpp
index 0a533013d..332d6e9a4 100644
--- a/td/telegram/Payments.cpp
+++ b/td/telegram/Payments.cpp
@@ -1125,7 +1125,7 @@ void export_invoice(Td *td, td_api::object_ptr<td_api::InputMessageContent> &&in
return promise.set_error(Status::Error(400, "Invoice must be non-empty"));
}
TRY_RESULT_PROMISE(promise, input_invoice,
- InputInvoice::process_input_message_invoice(std::move(invoice), td, DialogId(), false));
+ InputInvoice::process_input_message_invoice(std::move(invoice), td, DialogId()));
auto input_media = input_invoice.get_input_media_invoice(td, nullptr, nullptr);
CHECK(input_media != nullptr);
td->create_handler<ExportInvoiceQuery>(std::move(promise))->send(std::move(input_media));