levlam
|
7e950e1b88
|
Don't check that on_external_update_message_content doesn't load new messages.
|
2024-06-11 17:22:50 +03:00 |
|
levlam
|
f2d2a94ae3
|
Add source to on_get_sticker_document.
|
2024-06-06 12:29:55 +03:00 |
|
levlam
|
7ab118780a
|
Add source to on_external_update_message_content.
|
2024-05-15 11:40:47 +03:00 |
|
levlam
|
836359104e
|
Improve logging for pendding web pages.
|
2024-05-05 01:21:52 +03:00 |
|
levlam
|
379fdf85b7
|
Various improvements.
|
2024-04-30 20:48:24 +03:00 |
|
levlam
|
fe0246093d
|
Add webPage.stickers.
|
2024-04-24 02:44:42 +03:00 |
|
levlam
|
4134f608af
|
Update layer to 179.
|
2024-04-21 21:57:10 +03:00 |
|
levlam
|
bd8c6be0cd
|
Rename rest of ContactsManager to ChatManager.
|
2024-04-02 13:06:22 +03:00 |
|
levlam
|
03a624903e
|
Move relevant functions to UserManager.
|
2024-04-02 03:52:34 +03:00 |
|
levlam
|
32898dbe88
|
Move get_chat_ids_object and get_chats_object to DialogManager.
|
2024-01-04 16:13:20 +03:00 |
|
levlam
|
eb5a37e927
|
Add DialogManager::force_create_dialog.
|
2024-01-04 15:38:01 +03:00 |
|
levlam
|
d963044eb9
|
Update copyright year.
|
2024-01-01 03:07:21 +03:00 |
|
levlam
|
70fef6b592
|
Always show large document, music, and voice note files in link preview.
|
2023-11-07 17:17:07 +03:00 |
|
levlam
|
ea6fa8e5d2
|
Add URL emptiness check.
|
2023-11-06 19:04:43 +03:00 |
|
levlam
|
c8be7e5a41
|
Calculate webPage.show_large_media.
|
2023-11-04 04:12:55 +03:00 |
|
levlam
|
7d5b4e307d
|
Add getWebPagePreview.link_preview_options.
|
2023-11-02 01:09:30 +03:00 |
|
levlam
|
d6b3a77899
|
Return Slice from get_first_url().
|
2023-11-01 22:13:29 +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
|
72cb3665b4
|
Allow empty text witn non-empty link preview.
|
2023-10-17 02:07:40 +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
|
d261743f91
|
Add WebPage.has_large_media.
|
2023-10-16 16:02:18 +03:00 |
|
levlam
|
9a40ea0f10
|
Update layer to 165.
|
2023-09-25 18:16:26 +03:00 |
|
levlam
|
1e2c0ce814
|
Rename FullMessageId to MessageFullId.
|
2023-09-21 19:11:17 +03:00 |
|
levlam
|
153ff5503b
|
Update layer to 164.
|
2023-08-15 22:45:37 +03:00 |
|
levlam
|
05589cff7b
|
Improve names of WebPage and WebPageInstantView fields.
|
2023-08-18 15:33:33 +03:00 |
|
levlam
|
b12ade01f6
|
Add more checks for server StoryId.
|
2023-08-10 20:22:12 +03:00 |
|
levlam
|
451c559539
|
Add various checks.
|
2023-07-23 01:41:59 +03:00 |
|
levlam
|
82b524de0a
|
Create chats for received story identifiers.
|
2023-07-10 16:39:49 +03:00 |
|
levlam
|
4ae098c3a8
|
Add StoryFullId to dependencies.
|
2023-07-10 15:36:38 +03:00 |
|
levlam
|
2bf47d0809
|
Minor fixes.
|
2023-07-01 16:22:01 +03:00 |
|
levlam
|
bcf9ff7d43
|
Explicitly include telegram_api.h in cpp files.
|
2023-07-01 14:53:04 +03:00 |
|
levlam
|
d3e0372b14
|
Use Chat as owner of stories in td_api.
|
2023-06-27 21:51:36 +03:00 |
|
levlam
|
ebac96e7ec
|
Add get_message_content_story_full_id.
|
2023-06-22 22:39:47 +03:00 |
|
levlam
|
a4bf0bffa8
|
Use webPage duration if story duration isn't available.
|
2023-06-14 16:19:58 +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
|
030e440757
|
Update layer to 160.
|
2023-05-01 21:07:01 +03:00 |
|
levlam
|
f1311610e5
|
Remove unneeded TdParameters.h includes.
|
2023-03-13 20:10:18 +03:00 |
|
levlam
|
835ee52491
|
Make TdParameters private in Global.
|
2023-03-13 19:47:38 +03:00 |
|
levlam
|
22fdc0258b
|
Use "receive"/"have"/"loaded" instead of "got" and other log message improvements.
|
2023-02-26 14:22:31 +03:00 |
|
levlam
|
6cf6f32418
|
Add Global::ignore_result_if_closing.
|
2023-02-16 13:35:27 +03:00 |
|
levlam
|
337bdc5f5e
|
Use request promise in getWebPagePreview.
|
2023-02-15 15:05:37 +03:00 |
|
levlam
|
882de6e8e8
|
Replace unsafe to maintain data_ field with get_data() method.
|
2023-02-02 03:08:26 +03:00 |
|
levlam
|
4d70d1e920
|
Minor improvements.
|
2023-01-31 13:33:30 +03:00 |
|
levlam
|
f9b81efe4b
|
Replace result with "Request Aborted" error only if it is successful.
|
2023-01-25 19:58:23 +03:00 |
|
levlam
|
425bd0e364
|
Support sticker chat photos.
|
2023-01-20 17:31:33 +03:00 |
|
levlam
|
8d8f72a17a
|
Fix some lower-case spelling.
|
2023-01-15 12:00:26 +03:00 |
|
levlam
|
052d5e120b
|
Improve some mixed-case spelling.
|
2023-01-15 11:25:54 +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
|
f8e2af3f59
|
Rename size() to calc_size() for WaitFree hash tables.
|
2022-11-18 13:16:24 +03:00 |
|
levlam
|
d7cf3292e9
|
Improve logging.
|
2022-10-22 00:48:34 +03:00 |
|
levlam
|
b03f869ee9
|
Fix duplicate file source creation for web pages.
|
2022-10-06 15:32:50 +03:00 |
|
levlam
|
a235628428
|
Avoid creation of multiple FileSourceId for the same URL.
|
2022-10-06 15:09:00 +03:00 |
|
levlam
|
b3e16c5dd7
|
Use the same template recursively for instant view links.
|
2022-09-26 19:24:39 +03:00 |
|
levlam
|
9c04dc47ad
|
Add support for cashtag in Twitter link preview.
|
2022-09-20 18:13:14 +03:00 |
|
levlam
|
560dd914b3
|
Unify names of functions, returning list of td_api objects.
|
2022-08-30 08:12:14 +03:00 |
|
levlam
|
8b61255387
|
Add additional parameters to get_formatted_text.
|
2022-08-15 16:16:50 +03:00 |
|
levlam
|
61fb071b25
|
Use get_formatted_text in get_web_page_preview.
|
2022-08-15 15:59:16 +03:00 |
|
levlam
|
b1e43bfbd5
|
Pass FormattedText to get_first_url.
|
2022-08-15 15:55:48 +03:00 |
|
levlam
|
779090f4dd
|
Add more WaitFree* classes usages.
|
2022-08-04 14:48:10 +03:00 |
|
levlam
|
4cf1e02479
|
Add multiarg version of Scheduler::destroy_on_scheduler.
|
2022-07-22 21:21:30 +03:00 |
|
levlam
|
0f87447ffc
|
Asynchronously destroy some big data storages.
|
2022-07-20 13:40:14 +03:00 |
|
levlam
|
2472e13f7f
|
Add internalLinkTypeBotStart.autostart.
|
2022-07-01 16:21:29 +03:00 |
|
levlam
|
2953a2ec64
|
Ignore accidentally received web pages by bots.
|
2022-06-28 17:10:57 +03:00 |
|
levlam
|
014b458425
|
Add Dimensions.h.
|
2022-06-02 17:52:12 +03:00 |
|
levlam
|
17275fe422
|
Output the number of objects to be freed on closing.
|
2022-04-25 20:52:44 +03:00 |
|
levlam
|
163e739302
|
Add set_promises/fail_promises helper functions.
|
2022-04-13 17:40:12 +03:00 |
|
levlam
|
88b9f35b91
|
Add PhotoSize.h.
|
2022-04-10 01:15:49 +03:00 |
|
levlam
|
05c0833525
|
Add PhotoFormat.h.
|
2022-04-09 23:21:07 +03:00 |
|
levlam
|
37123a50ff
|
Don't create vectors using set iterators.
|
2022-03-12 13:22:07 +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
|
15f27455c5
|
Move other big classes inside FlatHashMap to unique_ptr.
|
2022-02-11 19:27:32 +03:00 |
|
levlam
|
2b1314295d
|
Check and fix half of FlatHashMap usages.
|
2022-02-10 00:59:52 +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
|
8b92e8f978
|
Optimize checked insert to std::map.
|
2022-02-03 16:24:09 +03:00 |
|
levlam
|
8085779cdc
|
Update copyright year.
|
2022-01-01 03:35:39 +03:00 |
|
levlam
|
e8c0b8780f
|
Add CHECK debug.
|
2021-12-19 18:10:38 +03:00 |
|
levlam
|
60907279fd
|
Add missing checks for close_flag in Timeout callbacks.
|
2021-11-13 22:37:41 +03:00 |
|
levlam
|
5a02af8c72
|
Use const reference if range-based for if appropriate.
|
2021-11-10 20:39:35 +03:00 |
|
levlam
|
616b0e6d6f
|
Improve ResultHandler/NetActor td_ private field name.
|
2021-11-08 15:20:38 +03:00 |
|
levlam
|
5578ecc6b8
|
Remove NetQuery id from ResultHandler and NetActor.
|
2021-11-08 14:19:57 +03:00 |
|
levlam
|
0c1e268706
|
Don't generate MASK for parsed True fields.
|
2021-11-01 21:53:23 +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
|
328c5b57d2
|
Add Global::request_aborted_error.
|
2021-10-07 16:36:21 +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
|
db18baa503
|
Unify include order.
|
2021-09-19 00:47:05 +03:00 |
|
levlam
|
0ec10947d5
|
Fix some misprints.
|
2021-09-06 13:58:40 +03:00 |
|