Commit Graph

212 Commits

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