Commit Graph

2676 Commits

Author SHA1 Message Date
levlam
c44869f873 Support input*FromMessage. 2023-03-17 18:51:04 +03:00
levlam
5ee4ba2759 Fix warning. 2023-03-17 02:06:45 +03:00
levlam
897319a275 Add more is_bot checks. 2023-03-16 23:38:03 +03:00
levlam
f282e2b6ac Pass NotificationInfo to get_next_notification_id. 2023-03-16 23:11:08 +03:00
levlam
ad08cc1775 PAss NotificationInfo to *notification_id_to_message_id_correspondence. 2023-03-16 23:07:12 +03:00
levlam
7406361444 Improve NotificationInfo field names. 2023-03-16 22:57:14 +03:00
levlam
ea2567f5d0 Move max_notification_message_id to NotificationInfo. 2023-03-16 22:54:03 +03:00
levlam
b01ee666e9 Add struct NotificationInfo. 2023-03-16 22:38:29 +03:00
levlam
96981eed53 Add get_notification_group_info helper. 2023-03-16 20:39:00 +03:00
levlam
b19a1f5ba4 Move scheduled message info into a class. 2023-03-16 20:10:54 +03:00
levlam
c9a1d5bee6 Move read_history_log_event_ids out of Dialog. 2023-03-16 18:21:51 +03:00
levlam
a9e70dcafc Move updated_read_history_message_ids out of Dialog. 2023-03-16 18:05:36 +03:00
levlam
3a1aaa1148 Move suffix load out of Dialog. 2023-03-16 17:54:33 +03:00
levlam
97fa882a8f Move pending_viewed_live_locations out of Dialog. 2023-03-16 16:15:54 +03:00
levlam
365c639c22 Move pending message views out of Dialog. 2023-03-15 23:45:30 +03:00
levlam
1b23cf0478 Don't use yet_unsent_thread_message_ids_ for bots. 2023-03-15 17:01:38 +03:00
levlam
7d99fc50ed Move yet_unsent_thread_message_ids out of Dialog. 2023-03-15 16:59:23 +03:00
levlam
78d5146188 Move yet_unsent_message_id_to_persistent_message_id out of each Dialog. 2023-03-15 16:50:56 +03:00
levlam
5ee1c751f9 Remove debug_message_op. 2023-03-15 16:26:22 +03:00
levlam
d132c3e50d Add Global::keep_media_order. 2023-03-14 01:48:32 +03:00
levlam
d6faa001e2 Add Global::use_sqlite_pmc. 2023-03-14 01:41:04 +03:00
levlam
367d3eaa2b Move ignore_background_updates() to Td. 2023-03-13 21:13:59 +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
b373fc6f2b Update scheduled_message_date when message date changes. 2023-03-13 15:43:15 +03:00
levlam
8847638d28 Autostart bots with non-empty message history. 2023-03-11 23:18:24 +03:00
levlam
703ef13a86 Fix messageSendOptions processing. 2023-03-09 22:21:24 +03:00
levlam
c2a25b7652 Don't try to reload channel scheduled messages if have no access to them. 2023-03-09 16:56:48 +03:00
levlam
f100399c8e Don't call getDifference explicitly after failed requests. 2023-03-09 16:41:31 +03:00
levlam
95177f4aad Drop last_message_id when the last message is unloaded from memory. 2023-03-09 14:42:26 +03:00
levlam
5cd6b2d853 Handle invalid data index table size. 2023-03-08 19:23:12 +03:00
levlam
d2c7584cf4 Fail message parsing immediately if parsed invalid message identifier. 2023-03-08 12:49:22 +03:00
levlam
bce6af3a19 Imrove viewMessages for threads with root messages from albums. 2023-03-07 19:07:12 +03:00
levlam
4803cf970d Universally initialize max_thread_message_id. 2023-03-07 18:22:39 +03:00
levlam
a49e63985d Send updateAddChatMembersPrivacyForbidden after successful request response. 2023-03-06 21:42:06 +03:00
levlam
e7242b1188 Fix includes. 2023-03-06 20:36:56 +03:00
levlam
6692f9c918 Allow to view additional root thread messages. 2023-03-06 12:35:52 +03:00
levlam
31be0a5be8 Fix viewMessages.force_read. 2023-03-05 15:49:08 +03:00
levlam
b45d56d116 Add updateAddChatMembersPrivacyForbidden. 2023-03-03 14:42:30 +03:00
levlam
319a3f1c39 Add and use LinkManager::get_t_me_url(). 2023-03-01 23:49:22 +03:00
levlam
b427a7b9f6 Add send_emoji to get_input_media. 2023-02-27 02:12:21 +03:00
levlam
1f32ae3dfd Add sending_id to messageSendOptions. 2023-02-23 17:05:43 +03:00
levlam
439dd7c2ca Add td_api::messageViewers. 2023-02-23 15:15:10 +03:00
levlam
b4a86fb299 Add MessageWebViewWriteAccessAllowed. 2023-02-22 12:24:43 +03:00
levlam
91a13ea705 Allow multiple open/close for the same chat. 2023-02-07 21:45:03 +03:00
levlam
fbea859a11 Add MessageSource to viewMessages. 2023-02-07 21:08:54 +03:00
levlam
f6615189af Update layer to 154. 2023-02-07 14:01:45 +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
ffcc1719ef Improve log message spelling. 2023-02-26 13:41:49 +03:00
levlam
3979fc122b Allow to create basic groups without other members. 2023-02-24 16:33:14 +03:00