Commit graph

17843 commits

Author SHA1 Message Date
23rd
d9caf15d1d Added initial ability to reinvest existing credits for channels. 2024-06-30 21:16:09 +04:00
23rd
b674826392 Added special widget for credits input to section of channel earn. 2024-06-30 21:16:09 +04:00
23rd
37181f9d0a Moved out special widget for credits input to single place. 2024-06-30 21:16:09 +04:00
23rd
93aebc747d Moved out special input for credits to td_ui. 2024-06-30 21:16:09 +04:00
23rd
a84ac933dd Added support of api update to history lists in section of channel earn. 2024-06-30 21:16:09 +04:00
23rd
b79c306bfe Added list of credits history to section of channel earn. 2024-06-30 21:16:09 +04:00
23rd
57d62423b3 Moved out custom slider class with natural width to single place. 2024-06-30 21:16:09 +04:00
23rd
f4674389d5 Added chart of credits revenue to section of channel earn. 2024-06-30 21:16:09 +04:00
23rd
63c4c5064f Added support of api updates for overview in channel earn section. 2024-06-30 21:16:09 +04:00
23rd
ae1f364730 Added rpl support to label with icon in section of channel earn. 2024-06-30 21:16:09 +04:00
23rd
c6e322de86 Added credits oveview to section of channel earn. 2024-06-30 21:16:09 +04:00
23rd
68bf6f991c Moved out util for wrapping credits icon to widget. 2024-06-30 21:16:09 +04:00
23rd
b15f5f8596 Added credits data to saved state of channel earn section. 2024-06-30 21:16:09 +04:00
23rd
27a71a8dcd Renamed BotEarnStatistics to CreditsEarnStatistics. 2024-06-30 21:16:08 +04:00
John Preston
2044f8f9ad Update API scheme on layer 183. 2024-06-30 21:16:08 +04:00
23rd
ffa4b1db87 Fixed withdrawal button for credits with minimal amount. 2024-06-30 21:16:08 +04:00
23rd
cad25ae644 Fixed unique row id in lists of credits history entries. 2024-06-30 21:16:08 +04:00
23rd
21094fe11b Slightly improved process of incoming credit history entries. 2024-06-30 21:16:08 +04:00
23rd
101dbdf243 Added support of MTP updates to lists of credits history entries. 2024-06-30 21:16:08 +04:00
John Preston
0dc92762bc Show link to message in transactions history. 2024-06-30 21:16:08 +04:00
John Preston
5fdaa6b91f Record bareMsgId in CreditsHistoryEntry. 2024-06-30 21:16:08 +04:00
John Preston
968d036834 Use Ui::NumberInput for the paid media price. 2024-06-30 21:16:08 +04:00
John Preston
d47c5df73d Nice price tag on sending media. 2024-06-30 21:16:08 +04:00
John Preston
6c1e7357c6 Nice unlock media stars, unlock done tooltip. 2024-06-30 21:16:08 +04:00
John Preston
479b63c33a Customize pay-by-stars box for paid media. 2024-06-30 21:16:08 +04:00
John Preston
950a946a16 Show correct chat preview for paid media. 2024-06-30 21:16:08 +04:00
John Preston
5f8da27c86 Display nice price tag, handle pay in albums. 2024-06-30 21:16:08 +04:00
John Preston
a9bd7803e6 Edit price on send, send single paid media. 2024-06-30 21:16:08 +04:00
John Preston
3ece9b1566 Update API scheme to layer 183. Paid media. 2024-06-30 21:16:08 +04:00
John Preston
e71a067f4b Fix build on Windows. 2024-06-30 21:16:08 +04:00
23rd
ebf456abe4 Added initial support of lists for credits history entries in bot earn. 2024-06-30 21:16:08 +04:00
23rd
3552da5ce7 Added additional row in table for some types of credits history entries. 2024-06-30 21:16:08 +04:00
23rd
b5bd0f53ad Added support of new statuses of credits history entries. 2024-06-30 21:16:08 +04:00
23rd
7d115b3fab Improved api support to credit history entries. 2024-06-30 21:16:08 +04:00
23rd
d0a030ab58 Added support of minimal amount of credits to withdrawal button. 2024-06-30 21:16:08 +04:00
23rd
712c06756e Added icon to label in withdrawal button from bot earn section. 2024-06-30 21:16:08 +04:00
23rd
301ffc15ef Added countdown label to withdrawal button in bot earn section. 2024-06-30 21:16:07 +04:00
23rd
3c4a711b5d Added withdrawal button to bot earn sections. 2024-06-30 21:16:07 +04:00
23rd
989145726d Made withdrawal button handler in earn sections more universal. 2024-06-30 21:16:07 +04:00
23rd
9eebd3b514 Added statistical chart and balance overview to bot earn section. 2024-06-30 21:16:07 +04:00
23rd
eb997ae9e3 Added initial implementation of filter for MTP updates. 2024-06-30 21:16:07 +04:00
23rd
db4c9b83f3 Added credits icon to statistical charts. 2024-06-30 21:16:07 +04:00
23rd
1196b6a3fb Moved out generating of credits icon to td_ui. 2024-06-30 21:16:07 +04:00
23rd
bef216bc93 Moved out colorizing of svg star to td_ui. 2024-06-30 21:16:07 +04:00
23rd
811d75e383 Improved display of different inner currencies in statistical charts. 2024-06-30 21:16:07 +04:00
23rd
049cde48ee Added initial api support of bot earn statistics. 2024-06-30 21:16:07 +04:00
23rd
cb65c50c19 Moved out deserialization of MTP statistical graph to separated file. 2024-06-30 21:16:07 +04:00
23rd
f23c9a61bc Moved out StatisticsRequestSender to separated file. 2024-06-30 21:16:07 +04:00
23rd
b5d5ff3cbb Improved naming of classes for channel earn. 2024-06-30 21:16:07 +04:00
23rd
c5ba0fa705 Added initial structure for bot earn data. 2024-06-30 21:16:07 +04:00