2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-05 08:55:59 +00:00

Added initial api support of refund flag to credits history entries.

This commit is contained in:
23rd
2024-05-28 02:28:13 +03:00
committed by John Preston
parent be099880d8
commit ebaffc333e
3 changed files with 12 additions and 0 deletions

View File

@@ -52,6 +52,7 @@ namespace {
}, [](const MTPDstarsTransactionPeerPremiumBot &) {
return Data::CreditsHistoryEntry::PeerType::PremiumBot;
}),
.refunded = tl.data().is_refund(),
};
}