Commit Graph

1263 Commits

Author SHA1 Message Date
levlam
40017310dd Simplify MessageContent object creation. 2023-10-19 13:59:18 +03:00
levlam
f78bc2ae32 Add td_api::setChatAccentColor. 2023-10-18 19:43:14 +03:00
levlam
7df8a8f3d0 Support user/chat.background_custom_emoji_id. 2023-10-18 15:59:25 +03:00
levlam
dd6fd86637 Add chat.accentColorId. 2023-10-17 15:09:57 +03:00
levlam
8552180f0d Add Message.invert_media flag. 2023-10-17 12:27:26 +03:00
levlam
9a339166a2 Add td_api::getPremiumGiveawayInfo. 2023-10-06 18:28:02 +03:00
levlam
3e487253c7 Use separate constructors for MessageInputReplyTo. 2023-10-06 13:05:50 +03:00
levlam
811a7c60e1 Add separate td_api::InputMessageReplyTo. 2023-10-06 11:58:05 +03:00
levlam
87f7cdd69f Store MessageFullId in replied_yet_unsent_messages_. 2023-10-25 03:02:26 +03:00
levlam
f441415da2 Allow to react anonymous group creator on behalf of a supergroup. 2023-10-16 10:35:47 +03:00
levlam
1c588eda01 Minor improvements. 2023-10-15 01:20:09 +03:00
levlam
844e6f2bfb Pass source as pointer to on_update_message_id. 2023-10-10 23:47:28 +03:00
levlam
94f72a026c Inline last usage of MessagesManager::is_forward_info_sender_hidden. 2023-10-09 21:27:14 +03:00
levlam
9e82513802 Add and use MessageOrigin::get_message_full_id. 2023-10-09 20:44:44 +03:00
levlam
c86d4d1036 Add class MessageOrigin. 2023-10-09 18:48:01 +03:00
levlam
13d02a8644 Add separate class messageImportInfo. 2023-10-09 12:20:32 +03:00
levlam
74679944af Remove error-prone server_time_cached. 2023-10-04 12:24:58 +03:00
levlam
51e23dd458 Decrease MIN_DELETED_ASYNCHRONOUSLY_MESSAGES. 2023-10-02 20:38:59 +03:00
levlam
83df57a102 Remove MessageInfo.flags. 2023-09-25 22:48:35 +03:00
levlam
09ced5689b Remove most MESSAGE_FLAG usages. 2023-09-25 22:09:31 +03:00
levlam
155095dff7 Move get_message_public_forwards to StatisticsManager. 2023-09-25 21:39:02 +03:00
levlam
1e2c0ce814 Rename FullMessageId to MessageFullId. 2023-09-21 19:11:17 +03:00
levlam
6b17c0fdec Use error object in td_api::messageSendingStateFailed/updateMessageSendFailed. 2023-09-19 19:04:56 +03:00
levlam
fb7cb1b1d0 Add MessagesManager::resolve_dialog. 2023-09-15 18:20:21 +03:00
levlam
25b8caff59 Add MessagesManager::send_resolve_dialog_username_query. 2023-09-15 17:44:32 +03:00
levlam
e65e5b0b49 Extract delete_all_dialog_notifications from delete_all_dialog_messages_from_database. 2023-09-13 16:29:37 +03:00
levlam
280209a220 Self-destruct media in private chats when they expire on the other side. 2023-09-07 00:31:05 +03:00
levlam
1a2bfad094 Move message content self-destruct time checks to create_input_message_content. 2023-08-29 18:51:57 +03:00
levlam
04b376782c Improve field name. 2023-08-27 02:48:18 +03:00
levlam
1dcd78f1ed Add source to have_dialog_info_force. 2023-08-26 05:00:15 +03:00
levlam
a85d3663bf Add MessagesManager::reload_dialog_notification_settings. 2023-08-24 17:29:22 +03:00
levlam
1e6970e3fe Add NotificationGroupFromDatabase struct. 2023-08-23 19:38:06 +03:00
levlam
d8472358dc Add MessagesManager::get_story_notification_settings. 2023-08-22 18:55:59 +03:00
levlam
5144656f2b Add MessagesManager::is_dialog_notification_group_id. 2023-08-22 02:31:47 +03:00
levlam
174f0ca5f5 Add MessagesManager::set_dialog_last_notification_checked. 2023-08-21 19:50:24 +03:00
levlam
d2cf780a1f Move class NotificationGroupInfo to a separate header. 2023-08-21 18:52:56 +03:00
levlam
ec6c36e578 Add getBlockedMessageSenders.block_list. 2023-07-28 17:52:44 +03:00
levlam
3794e65b76 Add td_api::BlockList. 2023-07-28 17:33:47 +03:00
levlam
f0e59da1ff Process blocked_my_stories_from flags. 2023-07-28 16:19:05 +03:00
levlam
3fa863e98e Fix misprint. 2023-08-06 01:57:08 +03:00
levlam
5558825d61 Add class ReactionType. 2023-08-04 18:39:07 +03:00
levlam
ff3a8e446e Add MessagesManager::load_last_dialog_message instead of get_history_from_the_end. 2023-07-28 14:33:54 +03:00
levlam
f5a066f7ed Support loading of history from the end in get_history_impl. 2023-07-28 14:12:22 +03:00
levlam
c071678be1 Add source to MessagesManager::get_history_impl. 2023-07-28 13:32:07 +03:00
levlam
2dba29669f Delete unused MessagesManager::get_history. 2023-07-28 13:22:52 +03:00
levlam
bd0ca2d6fc Combine all getChatHistory queries. 2023-07-28 03:36:21 +03:00
levlam
9618d58732 Combine get_history_from_the_end queries. 2023-07-27 20:40:56 +03:00
levlam
5bc2634d12 Use FlatHashMap for random_id_to_message_id. 2023-07-26 13:38:10 +03:00
levlam
0edd5b1651 Support "CHANNEL_INVALID" errors in response to channels.getDifference. 2023-07-25 14:12:58 +03:00
levlam
8893dc808f Ignore getDifference responses with invalid polls. 2023-07-24 19:42:09 +03:00