Commit Graph

61 Commits

Author SHA1 Message Date
levlam
2bf47d0809 Minor fixes. 2023-07-01 16:22:01 +03:00
levlam
ebac96e7ec Add get_message_content_story_full_id. 2023-06-22 22:39:47 +03:00
levlam
f182e105eb Register web page story sender users for UserFromMessage. 2023-06-13 17:14:19 +03:00
levlam
e4382ee206 Update message content when story from web page is changed. 2023-06-13 16:17:01 +03:00
levlam
62e7640701 Add information about Story to web page. 2023-06-13 15:45:10 +03:00
levlam
337bdc5f5e Use request promise in getWebPagePreview. 2023-02-15 15:05:37 +03:00
levlam
cf1984844b Update copyright year. 2023-01-01 00:28:08 +03:00
levlam
f1eedfaa47 Simplify some usages of optional TL fields. 2022-12-18 22:15:57 +03:00
levlam
ee28a37906 Minor improvements. 2022-10-12 15:59:58 +03:00
levlam
b3e16c5dd7 Use the same template recursively for instant view links. 2022-09-26 19:24:39 +03:00
levlam
779090f4dd Add more WaitFree* classes usages. 2022-08-04 14:48:10 +03:00
levlam
8537b3d495 Move MultiTimeout to MultiTimeout.h. 2022-07-02 23:32:18 +03:00
levlam
32bac7bd24 Move Promise to tdutils. 2022-06-27 13:30:18 +03:00
levlam
1f38124861 Use FlatHashSet. 2022-03-11 21:38:48 +03:00
levlam
b2077f72e4 Fix getWebPageInstantView for loaded web pages with non-loaded instant view. 2022-02-16 19:14:25 +03:00
levlam
bcc2adeb47 Fix includes and formatting. 2022-02-08 00:04:34 +03:00
Arseny Smirnov
86bceb2972 td: replace most of std::unordered_map usages to td::FlatHashMap 2022-02-07 21:21:31 +01:00
levlam
8085779cdc Update copyright year. 2022-01-01 03:35:39 +03:00
levlam
60907279fd Add missing checks for close_flag in Timeout callbacks. 2021-11-13 22:37:41 +03:00
levlam
00a349656d Unify td/telegram/include order. 2021-10-27 17:32:09 +03:00
levlam
db7aa28bdf A lot more minor improvements. 2021-10-19 18:11:16 +03:00
levlam
4c803a1a75 Remove uneeded third try in getWebPageInstantView. 2021-10-07 13:00:41 +03:00
levlam
2f4524a949 Return WebPageId through promise. 2021-10-07 12:49:46 +03:00
levlam
1a2faf5ae6 Add feedback_link to WebPageInstantView. 2021-08-21 10:22:41 +03:00
levlam
9653cc9e3e Add separate get_message_content_media_duration. 2021-08-05 02:09:04 +03:00
levlam
5d579af30a Return duration of web page in get_message_content_duration. 2021-07-26 04:33:56 +03:00
levlam
40c5d47717 Make inherited classes final if possible. 2021-07-04 05:58:54 +03:00
levlam
edfa5d1d98 Use final instead of override. 2021-07-03 23:51:36 +03:00
levlam
52c1da0a70 Update copyright year. 2021-01-01 15:57:46 +03:00
levlam
3d07b45a21 Update layer to 111.
GitOrigin-RevId: 47862200a12f3b5b9e5058192d5e9a9cdca862aa
2020-03-14 01:56:47 +03:00
levlam
04a002d9f3 Add source to register_message_content.
GitOrigin-RevId: 035429321a0fa15ea8918c634b19f12c21fc1d61
2020-02-22 19:21:58 +03:00
levlam
129f96da69 Send updateMessageContent when WebPage is changed.
GitOrigin-RevId: 8e20fd788a4f5333f686d96241459774319ac8d7
2020-01-27 02:55:18 +03:00
levlam
80c35676a2 Update copyright year.
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
2020-01-01 04:23:48 +03:00
levlam
0618005a95 Add FullMessageId.h.
GitOrigin-RevId: 758133149ff3317b3d9d3f86b1a841e8f34ca35a
2019-11-26 19:53:10 +03:00
levlam
99779fe3c1 Add support for multiple documents in WebPage.
GitOrigin-RevId: 54785578f34849900c6e75cf94bc71d1820f9083
2019-11-24 03:32:37 +03:00
levlam
6ca6b78b3b Remove unneeded includes.
GitOrigin-RevId: 863c925cb49c1ab94f5f1685ad0584c41a54a833
2019-04-27 04:15:05 +03:00
levlam
740880b9ca Refactor WebPagesManager::PageBlock to a separate class.
GitOrigin-RevId: 7a705f0929c1b4419d2cf0693dda747a172dbc28
2019-04-27 03:57:59 +03:00
levlam
8edd3b3811 Fix adding thumbnails to file_ids list.
GitOrigin-RevId: 880d7b1720050685b502925aa281c6de4945e1fb
2019-02-28 21:40:57 +03:00
levlam
4d5fb2902c Unify names of ParserT/StorerT classes.
GitOrigin-RevId: 69df5062e20cc87c0778e1b125ab46575c365377
2019-02-21 20:54:20 +03:00
levlam
3c8f56fc66 Support pageBlockMap.
GitOrigin-RevId: f2c4c6f6d84135d10fc1f53fb13290107827a89f
2019-02-07 18:28:49 +03:00
levlam
e34d46ac6a Support pageBlockRelatedArticles.
GitOrigin-RevId: a527bddf568842f986c87830ce8f9d53f6a53c09
2019-02-07 17:44:09 +03:00
levlam
5a8566bac2 Support pageBlockDetails.
GitOrigin-RevId: 82e90d7e01dc4f6bff19a64a11958fc42ff5c3a6
2019-02-07 16:38:11 +03:00
levlam
558a0f9b35 Support PageBlockTable.
GitOrigin-RevId: 602d58aaba14e6433c624fe08f8d12be20b2f1b2
2019-02-07 02:58:27 +03:00
levlam
13b54369b7 Support pageBlockKicker.
GitOrigin-RevId: c2eb81a7041b62ddc2214eb3e9bfcbf87a4f2818
2019-02-06 03:50:38 +03:00
levlam
d06e833626 Optimize get_web_page_file_ids.
GitOrigin-RevId: 59489eb0b5465a02b08a3fc8880a352440852163
2019-02-06 02:58:01 +03:00
levlam
30d9664e3e Update WebPagesManager::get_file_ids.
GitOrigin-RevId: bd729d5fe0753c0d4b671834d55ff54b6cd177ac
2019-02-06 02:46:27 +03:00
levlam
fb3239d183 Support pageBlockCaption.
GitOrigin-RevId: 7f53b8a1cb63c2d78ca7ce58a6466daa1b818abe
2019-02-06 02:24:29 +03:00
levlam
f8ea817b89 Support richTextInlineImage.
GitOrigin-RevId: 36528db98c0da35f342e1dc893ca66050e639ad8
2019-02-05 22:41:25 +03:00
levlam
a43296fce1 Update layer to 88.
Add webPageInstantView.is_rtl flag.
Add callStateReady.allow_p2p flag.
Add userPrivacySettingAllowPeerToPeerCalls.
Add session.is_password_pending flag.

GitOrigin-RevId: 594dc91a0c38840a224315ca841f74b47e1bf0c0
2019-02-05 01:08:15 +03:00
levlam
996869d4ca Implement store/parse FileSourceId.
GitOrigin-RevId: ff0d80bf2a8d479dae0cdca2c806a9731ff499d9
2019-01-31 00:37:38 +03:00