Add td_api::starTransactionPartnerTelegramAds.
This commit is contained in:
parent
9cb1df3586
commit
0056687a52
@ -864,6 +864,9 @@ starTransactionPartnerGooglePlay = StarTransactionPartner;
|
||||
//@description The transaction is a transaction with Fragment @withdrawal_state State of the withdrawal; may be null for refunds from Fragment
|
||||
starTransactionPartnerFragment withdrawal_state:RevenueWithdrawalState = StarTransactionPartner;
|
||||
|
||||
//@description The transaction is a transaction with Telegram Ad platform
|
||||
starTransactionPartnerTelegramAds = StarTransactionPartner;
|
||||
|
||||
//@description The transaction is a transaction with a bot
|
||||
//@bot_user_id Identifier of the bot
|
||||
//@product_info Information about the bought product; may be null if not applicable
|
||||
|
@ -203,9 +203,8 @@ class GetStarsTransactionsQuery final : public Td::ResultHandler {
|
||||
LOG(ERROR) << "Receive star transaction with " << dialog_id;
|
||||
return td_api::make_object<td_api::starTransactionPartnerUnsupported>();
|
||||
}
|
||||
case telegram_api::starsTransactionPeerAds::ID: {
|
||||
return td_api::make_object<td_api::starTransactionPartnerUnsupported>();
|
||||
}
|
||||
case telegram_api::starsTransactionPeerAds::ID:
|
||||
return td_api::make_object<td_api::starTransactionPartnerTelegramAds>();
|
||||
default:
|
||||
UNREACHABLE();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user