From b1880bc675eed035195921b58c671bdf28900bef Mon Sep 17 00:00:00 2001 From: levlam Date: Tue, 1 Apr 2025 17:12:04 +0300 Subject: [PATCH] Support starTransactionTypeBusinessBotTransferReceive. --- telegram-bot-api/Client.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/telegram-bot-api/Client.cpp b/telegram-bot-api/Client.cpp index eeda8dc..365c58c 100644 --- a/telegram-bot-api/Client.cpp +++ b/telegram-bot-api/Client.cpp @@ -4801,6 +4801,12 @@ class Client::JsonStarTransactionType final : public td::Jsonable { object("premium_subscription_duration", type->month_count_); break; } + case td_api::starTransactionTypeBusinessBotTransferReceive::ID: { + auto type = static_cast(type_); + object("type", "user"); + object("user", JsonUser(type->user_id_, client_)); + break; + } case td_api::starTransactionTypeAffiliateProgramCommission::ID: { auto type = static_cast(type_); object("type", "affiliate_program");