| 
								
								
									 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 |  | 
				
					
						| 
								
								
									 23rd | 3332f012cf | Added tooltip and ability to copy external link to sponsored messages. | 2023-09-12 11:40:33 +04: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 |  | 
				
					
						| 
								
								
									 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 |  |