mirror of
https://github.com/tdlight-team/tdlight-telegram-bot-api.git
synced 2024-11-23 04:26:51 +01:00
Add "telegram_ads" transaction partner.
This commit is contained in:
parent
f47e0a9fde
commit
76006f4a2e
@ -3982,6 +3982,9 @@ class Client::JsonStarTransactionPartner final : public td::Jsonable {
|
||||
object("user", JsonUser(source_user->bot_user_id_, client_));
|
||||
break;
|
||||
}
|
||||
case td_api::starTransactionPartnerTelegramAds::ID:
|
||||
object("type", "telegram_ads");
|
||||
break;
|
||||
case td_api::starTransactionPartnerTelegram::ID:
|
||||
case td_api::starTransactionPartnerAppStore::ID:
|
||||
case td_api::starTransactionPartnerGooglePlay::ID:
|
||||
@ -3989,7 +3992,6 @@ class Client::JsonStarTransactionPartner final : public td::Jsonable {
|
||||
LOG(ERROR) << "Receive " << to_string(*source_);
|
||||
object("type", "other");
|
||||
break;
|
||||
case td_api::starTransactionPartnerTelegramAds::ID:
|
||||
case td_api::starTransactionPartnerUnsupported::ID:
|
||||
object("type", "other");
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user