Commit Graph

15 Commits

Author SHA1 Message Date
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