From acab960daa8f45a54fa74619c9c73d9fe5f0e3a5 Mon Sep 17 00:00:00 2001 From: levlam Date: Mon, 13 Oct 2025 15:21:39 +0300 Subject: [PATCH] Add getBusinessAccountGifts.exclude_from_blockchain. --- telegram-bot-api/Client.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/telegram-bot-api/Client.cpp b/telegram-bot-api/Client.cpp index 06aa4bd..f9c9ae3 100644 --- a/telegram-bot-api/Client.cpp +++ b/telegram-bot-api/Client.cpp @@ -13578,6 +13578,7 @@ td::Status Client::process_get_business_account_gifts_query(PromisedQueryPtr &qu auto exclude_limited_upgradable = to_bool(query->arg("exclude_limited_upgradable")); auto exclude_limited_non_upgradable = to_bool(query->arg("exclude_limited_non_upgradable")); auto exclude_upgraded = to_bool(query->arg("exclude_unique")); + auto exclude_hosted = to_bool(query->arg("exclude_from_blockchain")); auto sort_by_price = to_bool(query->arg("sort_by_price")); auto offset = query->arg("offset"); auto limit = get_integer_arg(query.get(), "limit", 100, 1, 100); @@ -13588,7 +13589,7 @@ td::Status Client::process_get_business_account_gifts_query(PromisedQueryPtr &qu send_request(make_object( business_connection->id_, make_object(my_id_), 0, exclude_unsaved, exclude_saved, exclude_unlimited, exclude_limited_upgradable, exclude_limited_non_upgradable, - exclude_upgraded, false, false, sort_by_price, offset.str(), limit), + exclude_upgraded, false, exclude_hosted, sort_by_price, offset.str(), limit), td::make_unique(this, std::move(query))); }); return td::Status::OK();