Commit Graph

28 Commits

Author SHA1 Message Date
levlam
6c9f103264 Add is_owned_star_count_inited_. 2024-08-07 16:37:00 +03:00
levlam
a4171a8cc7 Locally update owned star count after bying a paid media. 2024-08-07 14:30:45 +03:00
levlam
ec92603a70 Support updateOwnedStarCount in getCurrentState. 2024-08-07 13:08:09 +03:00
levlam
9daa9a0717 Cache owned star count. 2024-08-07 13:05:15 +03:00
levlam
aaf9d40bea Add getStarSubscriptions.only_expiring. 2024-08-05 10:27:06 +03:00
levlam
191a742fa2 Add getStarTransactions.subscription_id. 2024-08-05 09:16:21 +03:00
levlam
d3e95a5e85 Add td_api::reuseStarSubscription. 2024-07-29 23:14:41 +03:00
levlam
3ba783158f Add td_api::editStarSubscription. 2024-07-25 23:13:00 +03:00
levlam
597805c951 Add td_api::getStarSubscriptions. 2024-07-25 22:53:45 +03:00
levlam
9c1889c67d Add starTransactionPartnerUser.sticker. 2024-07-30 15:18:06 +03:00
levlam
de8dbf00b4 Move get_months_by_star_count to StarManager. 2024-07-30 13:51:53 +03:00
levlam
bb2b10f615 Add td_api::getStarGiftPaymentOptions. 2024-07-10 17:19:43 +03:00
levlam
eb8f3419bb Various fixes. 2024-06-30 09:29:53 +03:00
levlam
fc7cf76a5f Support file reference repair for media from star transactions. 2024-06-28 14:05:25 +03:00
levlam
02bd5a2498 Add StarManager::reload_star_transaction. 2024-06-28 13:29:22 +03:00
levlam
60d3130193 Add td_api::getStarAdAccountUrl. 2024-06-24 20:45:55 +03:00
levlam
e059564184 Various fixes. 2024-06-16 22:33:27 +03:00
levlam
0fba6aaaf4 Allow negative star balance. 2024-06-15 22:09:44 +03:00
levlam
1ebd431791 Allow self in get_star_transactions. 2024-06-14 23:31:13 +03:00
levlam
5d73204805 Add td_api::updateStarRevenueStatus. 2024-06-14 18:06:20 +03:00
levlam
40f6c540dd Add and use StarManager::get_star_count. 2024-06-14 17:23:13 +03:00
levlam
db4f61e261 Add td_api::getStarRevenueStatistics. 2024-06-14 17:06:26 +03:00
levlam
ebe83764eb Improve getStarWithdrawalUrl. 2024-06-14 15:18:35 +03:00
levlam
f4a64ad28c Add getStarTransactions.owner_id. 2024-06-14 14:09:02 +03:00
levlam
b0bfe55580 Add getStarTransactions.limit. 2024-06-14 13:42:18 +03:00
levlam
848e33bc39 Add td_api::getStarWithdrawalUrl. 2024-06-13 23:21:04 +03:00
levlam
2f505ad101 Move relevant functions to StarManager. 2024-06-13 22:41:23 +03:00
levlam
e78fbd7f8d Add StarManager. 2024-06-13 22:31:51 +03:00