Commit graph

41 commits

Author SHA1 Message Date
AlexeyZavar
080400d7b8 Merge tag 'v4.15.2' into dev
# Conflicts:
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/core/version.h
#	Telegram/SourceFiles/info/info_wrap_widget.cpp
#	Telegram/SourceFiles/settings/settings_common_session.cpp
#	Telegram/lib_ui
#	docs/building-mac.md
#	snap/snapcraft.yaml
2024-03-13 11:44:48 +03:00
John Preston
7f3ebde252 Implement sending of shortcutted messages. 2024-03-08 10:53:59 +04:00
ZavaruKitsu
0f8187fa36 Merge tag 'v4.12.2' into dev
# Conflicts:
#	.github/workflows/win.yml
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/core/version.h
#	Telegram/SourceFiles/settings/settings_advanced.cpp
#	Telegram/SourceFiles/settings/settings_main.cpp
#	Telegram/lib_ui
#	snap/snapcraft.yaml
2023-12-01 15:38:13 +03:00
23rd
4ad51ffb42 Removed some include directives. 2023-11-28 21:55:26 +04:00
23rd
0f3faf59ca Added support of bot apps to sponsored messages.
Added api support of custom button text in sponsored messages.
2023-11-28 21:55:26 +04:00
23rd
4c5c2aadc4 Replaced style of sponsored messages with fake webpage. 2023-11-28 21:55:26 +04:00
23rd
17f89ba1f9 Added ability to get sponsored details from constructor of HistoryItem. 2023-11-28 21:55:26 +04:00
ZavaruKitsu
b6cf5ebb19 fix: adjust code for refactor of input fields in lib_ui
fix: organize imports
fix: refactor database initialization
fix: update submodule

adjusted following 98bb520f47
2023-09-23 14:00:47 +03:00
ZavaruKitsu
0502acc8a4 Merge tag 'v4.10.0' into dev
# Conflicts:
#	README.md
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/apiwrap.cpp
#	Telegram/SourceFiles/core/version.h
#	Telegram/SourceFiles/data/data_stories.cpp
#	Telegram/SourceFiles/platform/win/windows_app_user_model_id.cpp
#	Telegram/lib_ui
#	snap/snapcraft.yaml
2023-09-23 10:58:57 +03:00
23rd
3332f012cf Added tooltip and ability to copy external link to sponsored messages. 2023-09-12 11:40:33 +04:00
ZavaruKitsu
efcdeaa13d fix: enableAds -> disableAds 2023-08-01 13:34:35 +00:00
ZavaruKitsu
8ee9054831 feat: merge 2023-07-23 00:21:48 +00:00
John Preston
8a974273b9 Fix possible crash in click handling. 2023-07-20 07:20:47 +04:00
John Preston
3c44cf0251 Track all sponsored messages clicks. 2023-07-20 07:20:12 +04:00
John Preston
7ad5520b82 Support external links sponsored messages. 2023-07-20 07:20:12 +04:00
ZavaruKitsu
f72e7178f5 fix: reformat with resharper 2023-07-10 14:30:23 +00:00
ZavaruKitsu
a5bd116b40 feat: implement enableAds & add views for options 2023-06-09 12:20:56 +03:00
23rd
ae5f2add0e Added possible info about sponsors to menu from sponsored messages. 2023-03-07 08:42:29 +03:00
John Preston
1b73b34810 Make HistoryItem a final class. 2022-12-26 14:24:04 +04:00
23rd
26f287fae0 Added support of posts_between flag for sponsored messages. 2022-11-05 15:44:08 +03:00
23rd
969b051c8f Limited count of sponsored messages at bottom to single one for now. 2022-11-01 20:03:16 +04:00
John Preston
306179ca7c Update API scheme on layer 148. 2022-11-01 19:25:40 +04:00
23rd
9ddbc75638 Added api flag support of userpic display for sponsored messages. 2022-11-01 19:25:40 +04:00
John Preston
8bc807dc40 Set name / phone texts on-demand. 2022-08-09 14:12:19 +03:00
23rd
89a3462824 Simplified extracting of data from some MTP* responses. 2022-07-26 20:12:11 +03:00
John Preston
63940ea557 Support "recommended" sponsored messages. 2022-05-19 17:27:03 +04:00
23rd
4dee21c0e6 Added userpics support to sponsored messages. 2022-02-25 19:41:16 +03:00
John Preston
bba7010e74 Show "View Message" button in sponsored. 2021-12-31 16:07:36 +03:00
John Preston
611be90880 Rewrite sponsored to use fake sender names. 2021-12-31 16:07:36 +03:00
23rd
baca36e715 Added chat invites support to sponsored messages. 2021-12-29 21:22:33 +03:00
John Preston
710ef43e41 Update API scheme on layer 136. 2021-12-29 21:22:33 +03:00
John Preston
5e7e7eaa83 FullMsgId rely on PeerId instead of ChannelId. 2021-12-22 10:11:57 +00:00
23rd
3647241f71 Removed unused MTP::Error from callbacks on fail. 2021-11-30 17:37:07 +04:00
John Preston
c534f3f22e Some internal HistoryItem refactoring.
Replace most IsServerMsgId / id <=> 0 with isRegular().
Track isLocal / isHistoryEntry in flags.
Remove toHistoryMessage.
2021-11-07 12:50:13 +04:00
John Preston
c0f898b069 Cache sponsored messages for 5 minutes. 2021-11-05 15:28:45 +04:00
23rd
55eb381bd2 Removed display of stale sponsored messages. 2021-11-05 11:27:26 +03:00
John Preston
7a57174ab1 Register sponsored view only on full message show. 2021-11-03 15:49:48 +04:00
23rd
52bacb3cde Improved tracking of views for sponsored messages. 2021-11-02 20:58:35 +03:00
John Preston
e471d61d7a Enable ads leading to a specific channel post. 2021-10-29 18:31:06 +04:00
23rd
c2b505b78c Added ability to open specific post from sponsored messages. 2021-10-08 10:39:27 +04:00
23rd
eda5cd47ad Added manager of sponsored messages. 2021-10-07 11:09:08 +04:00