Commit graph

67 commits

Author SHA1 Message Date
AlexeyZavar
adc691f516 Merge tag 'v5.12.1' into dev 2025-03-08 23:02:34 +03:00
John Preston
827040f487 Use paid messages values from appConfig. 2025-03-07 19:03:38 +04:00
John Preston
74b71b92b6 Update API scheme on layer 200. 2025-03-07 19:03:37 +04:00
AlexeyZavar
20358a2f58 Merge tag 'v5.10.3' into dev 2025-01-15 10:11:17 +03:00
John Preston
c1528f532e Update API scheme to layer 196. 2024-12-25 11:09:35 +04:00
23rd
aa1f8cfb8f Fixed display at least one injected sponsored message. 2024-12-20 15:53:43 +03:00
John Preston
e33ca9d316 Fix top/recent peers cache write error. 2024-12-19 13:51:47 +04:00
John Preston
51ddfbc340 Update API scheme to layer 195. 2024-12-04 13:51:18 +04:00
AlexeyZavar
dbc0cae68c Merge tag 'v5.8.2' into dev 2024-11-20 16:19:06 +03:00
John Preston
9d74d93ed7 Fix some warnings from PVS-Studio.
Fixes #28667.

Some warnings fixed detailed in this post:
https://pvs-studio.com/en/blog/posts/cpp/1186/
2024-11-18 12:50:36 +04:00
23rd
5abecec478 Fixed display of sponsored messages at bottom for bots. 2024-11-11 10:18:00 +03:00
John Preston
66be2ac6ca Show toast/tooltip info on video processing. 2024-10-31 18:04:17 +04:00
John Preston
7ba78540ac Keep alternative video qualities list. 2024-10-31 18:04:16 +04:00
23rd
6237675744 Moved out ui callbacks of bar from data class from sponsored messages. 2024-10-30 06:47:13 +03:00
23rd
30dae049ff Fixed non-animated display of top bar for sponsored messages. 2024-10-30 06:39:33 +03:00
23rd
b7ef5325ac Improved display of sponsored message bar for preloaded messages. 2024-10-28 13:26:10 +03:00
23rd
b23a877d7e Added ability to cache currency balance by peer. 2024-10-26 19:20:50 +03:00
23rd
84055ed74e Added context menu to top bar of sponsored messages. 2024-10-26 17:55:07 +03:00
23rd
8a1cf2bb3a Added initial implementation of top bar for sponsored messages. 2024-10-26 17:55:07 +03:00
23rd
bbdcb047d0 Added ability to request sponsored messages not only for channels. 2024-10-26 17:55:07 +03:00
John Preston
78f2e70956 Update API scheme to layer 192. 2024-10-26 16:36:17 +04:00
John Preston
0397006894 Add more logging on failed top peers reading. 2024-10-25 18:14:44 +04:00
AlexeyZavar
7321b654bf Merge tag 'v5.6.3' into dev 2024-10-16 13:42:36 +03:00
John Preston
df2b020b42 Add debug logs for recent/top peers resetting. 2024-10-05 20:32:09 +04:00
23rd
9716a901d1 Added ability to cache credits balance by peer. 2024-10-05 18:50:03 +03:00
John Preston
335095a332 Beta version 5.5.8: Fix build with Xcode. 2024-10-03 12:21:06 +04:00
John Preston
d3df2dc1e5 Use Data::MediaPreload in sponsored messages. 2024-10-03 11:54:28 +04:00
23rd
b753448052 Changed behavior for sponsored messages to display them only when ready. 2024-10-01 08:57:38 +04:00
23rd
3f6d184435 Added api support for clicks on sponsored messages with media. 2024-09-19 12:47:54 +04:00
John Preston
a2fad84dae Update API scheme to layer 188. 2024-09-19 12:47:54 +04:00
AlexeyZavar
ec59d8679f Merge tag 'v5.4.1' into dev
# Conflicts:
#	.github/workflows/mac_packaged.yml
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/core/local_url_handlers.cpp
#	Telegram/SourceFiles/core/version.h
#	Telegram/SourceFiles/data/data_message_reactions.cpp
#	Telegram/SourceFiles/history/view/history_view_message.h
#	Telegram/lib_ui
#	docs/building-win.md
#	snap/snapcraft.yaml
2024-08-18 01:24:26 +03:00
23rd
838d5669ed Replaced api for credits rate. 2024-08-15 16:18:33 +03:00
John Preston
80b3754be1 Fix build on Windows. 2024-08-14 18:17:52 +02:00
23rd
624e068f2f Added initial ability to display media in sponsored messages. 2024-08-14 18:17:52 +02:00
John Preston
a2785867b2 Support correct paid-media-from-bot phrases. 2024-08-14 18:17:52 +02:00
23rd
fb66c85567 Added initial ability to request rate of credits from Credits component. 2024-08-14 18:17:50 +02:00
John Preston
9bb1fa8782 Allow sending paid reactions. 2024-08-14 18:17:49 +02:00
AlexeyZavar
92dab0438f Merge tag 'v5.3.2' into dev
# Conflicts:
#	.github/workflows/mac_packaged.yml
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/boxes/sticker_set_box.cpp
#	Telegram/SourceFiles/core/version.h
#	Telegram/SourceFiles/inline_bots/bot_attach_web_view.cpp
#	Telegram/lib_ui
#	snap/snapcraft.yaml
2024-08-05 20:56:01 +03:00
John Preston
6a8a85e395 Implement recent/popular apps list. 2024-07-31 17:03:55 +02:00
John Preston
3f0f3a3c11 Focus existing location picker. 2024-07-26 17:28:04 +02: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
John Preston
1d3110228d Fix phrase in factcheck toast. 2024-05-30 21:35:07 +04:00
John Preston
97a5e0c6ea Support limited formatting input in factcheck. 2024-05-30 21:35:07 +04:00
John Preston
d13bf19b79 Show length limit when editing a factcheck. 2024-05-30 21:35:07 +04:00
John Preston
493f0450b4 Implement factcheck edition. 2024-05-30 21:35:07 +04:00
John Preston
923a9ec6a8 Show toggle-able factcheck footer. 2024-05-30 21:35:07 +04:00
John Preston
b299881bf8 Track factcheck text and create media. 2024-05-30 21:35:07 +04:00
John Preston
39e03c3ca7 Update API scheme to layer181. 2024-05-30 21:35:06 +04:00
John Preston
144109db05 Show effect preview before sending. 2024-05-30 21:35:05 +04:00
John Preston
f8188f360a Update API scheme to layer 180. 2024-05-30 21:35:05 +04:00