Commit Graph

74 Commits

Author SHA1 Message Date
levlam
d963044eb9 Update copyright year. 2024-01-01 03:07:21 +03:00
levlam
7d5b4e307d Add getWebPagePreview.link_preview_options. 2023-11-02 01:09:30 +03:00
levlam
5c1b940402 Minor improvements. 2023-10-30 19:04:14 +03:00
levlam
d8430c5681 Add and use WebPagesManager::get_web_page_channel_ids. 2023-10-27 01:44:11 +03:00
levlam
cb51944cb7 Add webPage.show_above_text. 2023-10-21 21:33:46 +03:00
levlam
4194d9478b Add webPage.skip_confirmation. 2023-10-19 13:03:27 +03:00
levlam
6917503e5e Remove WebPagesManager::get_secret_input_media. 2023-10-16 23:18:43 +03:00
levlam
a495429a9b Improve URL to WebPageId correspondence. 2023-10-16 21:41:43 +03:00
levlam
98ca07b9c5 Improve variable names. 2023-10-16 21:18:41 +03:00
levlam
b9e7c8d7da Use messages.sendMedia to send text messages with custom URLs. 2023-10-16 20:41:39 +03:00
levlam
77faddc76f Add WebPagesManager::get_web_page_url. 2023-10-16 19:37:40 +03:00
levlam
104727cb75 Add webPage.force_*_media flags. 2023-10-16 17:36:45 +03:00
levlam
1e2c0ce814 Rename FullMessageId to MessageFullId. 2023-09-21 19:11:17 +03:00
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