mirror of
https://github.com/tdlight-team/tdlight-telegram-bot-api.git
synced 2024-11-26 22:16: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_));
|
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;
|
||||||
|
Loading…
Reference in New Issue
Block a user