Commit graph

1402 commits

Author SHA1 Message Date
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
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
101dbdf243 Added support of MTP updates to lists of credits history entries. 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
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
b5bd0f53ad Added support of new statuses of credits 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
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
23rd
4a60c57661 Added dummy files of bot earn section. 2024-06-30 21:16:07 +04:00
John Preston
501cae2200 Change InputField::font to InputField::style in styles. 2024-06-15 20:56:24 +04:00
AlexeyZavar
68ad4aeaf8 Merge tag 'v5.1.7' into dev
# Conflicts:
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/core/version.h
#	Telegram/lib_ui
#	snap/snapcraft.yaml
2024-06-14 22:10:29 +03:00
23rd
10f7b985c7 Added decimal separators to count of members in shared similar channels. 2024-06-13 18:44:33 +04:00
23rd
5db2821f8c Removed unused refund api support for credits. 2024-06-06 09:12:23 +04:00
23rd
9e3e7265d2 Improved display of cached message preview in profile sections. 2024-06-06 09:12:23 +04:00
AlexeyZavar
01b8602437 Merge tag 'v5.1.2' into dev
# Conflicts:
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/boxes/send_files_box.cpp
#	Telegram/SourceFiles/core/version.h
#	Telegram/SourceFiles/data/data_search_controller.cpp
#	Telegram/SourceFiles/dialogs/dialogs_widget.cpp
#	Telegram/SourceFiles/dialogs/dialogs_widget.h
#	Telegram/SourceFiles/history/view/media/history_view_gif.cpp
#	Telegram/SourceFiles/mainwidget.cpp
#	Telegram/lib_ui
2024-06-04 03:29:15 +03:00
AlexeyZavar
cc16922673 feat: copy username for channels too
fix: purge useless
2024-06-04 03:21:44 +03:00
23rd
4f4d216987 Fixed display of button in channel earn section when balance is low. 2024-06-03 23:00:48 +04:00
John Preston
400f0f8785 Empty line between description and ID. 2024-06-01 22:09:01 +04:00
John Preston
f4abe37dff Display peer IDs with delimeters. 2024-06-01 21:53:41 +04:00
23rd
57ecc2be1d Improved style of list of credits history entries for refunded entry. 2024-05-30 21:35:10 +04:00
23rd
d3a01b6235 Improved style of list of credits history entries for entry photo. 2024-05-30 21:35:10 +04:00
23rd
be099880d8 Added initial ability to claim refund credits from history entries list. 2024-05-30 21:35:08 +04:00
23rd
7d75c25214 Added box for small balance of credits. 2024-05-30 21:35:08 +04:00
23rd
5defb9fb17 Fixed display of credit spending. 2024-05-30 21:35:08 +04:00
23rd
58da617e3f Added description and optional photo to credits receipts. 2024-05-30 21:35:08 +04:00
23rd
7194781bb8 Added api support for premium bot peer type for credits history entries. 2024-05-30 21:35:07 +04:00
23rd
d1e914fb30 Added initial implementation of box for credits history entries. 2024-05-30 21:35:07 +04:00
23rd
43cb315f47 Replaced PeerId with BareId in credits history entries. 2024-05-30 21:35:07 +04:00
23rd
dcc52a7333 Moved out painting of userpic for credits entries to single place. 2024-05-30 21:35:07 +04:00
John Preston
5adde6c93a Fix build on Windows. 2024-05-30 21:35:07 +04:00
23rd
154fe63b43 Implemented list of credit history entries. 2024-05-30 21:35:06 +04:00
23rd
bc7aa91fbb Removed redundant constructor from Ui::Premium::TopBar. 2024-05-30 21:35:06 +04:00
John Preston
787cf7853e Implement simple chats search bar. 2024-05-30 21:35:06 +04:00
John Preston
d1106e5ae6 Check effects availability in all SendMenu-s. 2024-05-30 21:35:05 +04:00
John Preston
a60783eae3 Implement preview top and bottom. 2024-05-28 21:42:00 +04:00
AlexeyZavar
57b2c69ce6 Merge tag 'v5.0.2' into dev
# Conflicts:
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/core/version.h
#	Telegram/lib_ui
#	snap/snapcraft.yaml
2024-05-25 02:26:39 +03:00
John Preston
db486e957c Fix group/channel Appearance button style. 2024-05-24 12:55:48 +04:00
AlexeyZavar
eeb5e5a206 Merge tag 'v5.0.1' into dev
# Conflicts:
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/core/version.h
#	Telegram/SourceFiles/info/profile/info_profile_actions.cpp
#	Telegram/lib_ui
#	snap/snapcraft.yaml
2024-05-04 21:49:27 +03:00
23rd
c4f0db5bc5 Fixed possible crash on slow resolving message from personal channel. 2024-05-04 18:13:30 +04:00
23rd
1709fcd0df Guarded personal channel info from possible crash on deleting message. 2024-05-03 21:04:06 +04:00