mirror of
https://github.com/PaiGramTeam/telegram-bot-api.git
synced 2024-11-22 06:57:51 +00:00
Support td_api::starTransactionPartnerTelegramApi.
This commit is contained in:
parent
b730a32556
commit
59bf4d77fe
@ -4234,9 +4234,12 @@ class Client::JsonStarTransactionPartner final : public td::Jsonable {
|
||||
case td_api::starTransactionPartnerTelegramAds::ID:
|
||||
object("type", "telegram_ads");
|
||||
break;
|
||||
case td_api::starTransactionPartnerTelegramApi::ID:
|
||||
object("type", "other");
|
||||
case td_api::starTransactionPartnerTelegramApi::ID: {
|
||||
auto source = static_cast<const td_api::starTransactionPartnerTelegramApi *>(source_);
|
||||
object("type", "telegram_api");
|
||||
object("request_count", source->request_count_);
|
||||
break;
|
||||
}
|
||||
case td_api::starTransactionPartnerTelegram::ID:
|
||||
case td_api::starTransactionPartnerAppStore::ID:
|
||||
case td_api::starTransactionPartnerGooglePlay::ID:
|
||||
|
Loading…
Reference in New Issue
Block a user