Add "telegram_ads" transaction partner.

This commit is contained in:
levlam 2024-06-30 13:26:14 +03:00
parent f47e0a9fde
commit 76006f4a2e

View File

@ -3982,6 +3982,9 @@ class Client::JsonStarTransactionPartner final : public td::Jsonable {
object("user", JsonUser(source_user->bot_user_id_, client_)); object("user", JsonUser(source_user->bot_user_id_, client_));
break; break;
} }
case td_api::starTransactionPartnerTelegramAds::ID:
object("type", "telegram_ads");
break;
case td_api::starTransactionPartnerTelegram::ID: case td_api::starTransactionPartnerTelegram::ID:
case td_api::starTransactionPartnerAppStore::ID: case td_api::starTransactionPartnerAppStore::ID:
case td_api::starTransactionPartnerGooglePlay::ID: case td_api::starTransactionPartnerGooglePlay::ID:
@ -3989,7 +3992,6 @@ class Client::JsonStarTransactionPartner final : public td::Jsonable {
LOG(ERROR) << "Receive " << to_string(*source_); LOG(ERROR) << "Receive " << to_string(*source_);
object("type", "other"); object("type", "other");
break; break;
case td_api::starTransactionPartnerTelegramAds::ID:
case td_api::starTransactionPartnerUnsupported::ID: case td_api::starTransactionPartnerUnsupported::ID:
object("type", "other"); object("type", "other");
break; break;