Commit Graph

72 Commits

Author SHA1 Message Date
levlam
862497601e Fix chatEventStickerSetChanged. 2024-02-14 18:02:48 +03:00
levlam
e1098ef8e9 Allow empty non-null backgrounds in chat event log. 2024-02-13 16:56:07 +03:00
levlam
9400447fde Add td_api::chatEventCustomEmojiStickerSetChanged. 2024-02-08 13:46:45 +03:00
levlam
cb3c623fd2 Update layer to 174. 2024-02-07 20:34:28 +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
978be7206f Use DialogManager::have_dialog_force. 2024-01-04 15:26:42 +03:00
levlam
d963044eb9 Update copyright year. 2024-01-01 03:07:21 +03:00
levlam
e3a01fddd7 Improve includes. 2023-12-26 21:39:48 +03:00
levlam
299b87c524 Add td_api::chatEventEmojiStatusChanged. 2023-12-18 16:38:40 +03:00
levlam
6b85c09d14 Add td_api::chatEventBackgroundChanged. 2023-12-18 16:30:52 +03:00
levlam
c03650a920 Add td_api::chatEventProfileAccentColorChanged. 2023-12-18 16:03:15 +03:00
levlam
6b0e161fa2 Combine td_api::chatEventAccentColorChanged and td_api::chatEventBackgroundCustomEmojiChanged. 2023-12-18 16:00:01 +03:00
levlam
c6ce44815e Update layer to 169. 2023-12-05 12:30:12 +03:00
levlam
adc81fcea6 Fallback to default accent color for the chat. 2023-11-02 22:32:59 +03:00
levlam
00a6167952 Never send unknown accent color identifiers to the app. 2023-11-02 22:11:54 +03:00
levlam
21ef7d0f6c Disallow restricted member status in channels. 2023-10-19 22:37:44 +03:00
levlam
7df8a8f3d0 Support user/chat.background_custom_emoji_id. 2023-10-18 15:59:25 +03:00
levlam
22e4b0d641 Add class AccentColorId. 2023-10-17 13:52:04 +03:00
levlam
02b87ef1f3 Add chatEventReplyBackgroundCustomEmojiChanged. 2023-10-17 13:11:12 +03:00
levlam
38baaf4953 Add td_api::chatEventAccentColorChanged. 2023-10-17 12:58:01 +03:00
levlam
bd36f48054 Update layer to 166. 2023-09-28 16:13:36 +03:00
levlam
3a3ae9eabf Explicitly pass Td to Location constructor and don't register locations for bots. 2023-06-28 19:01:00 +03:00
levlam
e1eff4a06a Add MessagesManager::get_chat_id_object for checking chat_id before returning it. 2023-04-13 22:41:22 +03:00
levlam
b374eeb6e0 Add chatEventMemberJoinedByInviteLink.via_chat_filter_invite_link. 2023-04-03 13:11:14 +03:00
levlam
25047c28cf Use TRY_RESULT_PROMISE for get_input_user. 2023-03-22 17:39:56 +03:00
levlam
dff135fa6c Allow truncated links in updates and event log. 2023-03-03 04:23:46 +03:00
levlam
f6616f6ba3 Fix creator in ForumTopicInfo. 2023-02-04 17:59:17 +03:00
levlam
425bd0e364 Support sticker chat photos. 2023-01-20 17:31:33 +03:00
levlam
cf1984844b Update copyright year. 2023-01-01 00:28:08 +03:00
levlam
90b6403e86 Improve message_auto_delete_time field and class names. 2022-12-28 21:46:16 +03:00
levlam
1ff40ce132 Rename message TTL to auto-delete timer when appropriate. 2022-12-28 17:02:41 +03:00
levlam
a19f55b116 Rename is_aggressive_anti_spam_enabled to has_aggressive_anti_spam_enabled. 2022-12-27 19:14:37 +03:00
levlam
7fdbc4b704 Add chatEventIsAggressiveAntiSpamEnabledToggled. 2022-12-04 12:04:39 +03:00
levlam
7c4ec3cffa Add chatEventForumTopicToggleIsHidden. 2022-11-30 16:11:37 +03:00
levlam
bc332ffa37 Make option "anti_spam_bot_user_id" public and allow to load the user without network request. 2022-11-30 13:36:44 +03:00
levlam
e6941d231d Add chatEventMessageDeleted.can_report_anti_spam_false_positive. 2022-11-25 16:50:16 +03:00
levlam
33288a93d9 Update layer to 150. 2022-11-25 14:57:21 +03:00
levlam
e14d72306f Improve actor of TopicCreated chat log event. 2022-11-04 17:52:26 +03:00
levlam
d1afd1c3b7 Minor improvements. 2022-11-02 19:51:41 +03:00
levlam
af73084d1d Check that identifier of the edited topic wasn't changed. 2022-10-27 20:03:57 +03:00
levlam
431932eff2 Add separate chatEventForumTopicToggleIsClosed. 2022-10-27 19:52:26 +03:00
levlam
e079b684f0 Various improvements. 2022-10-20 13:28:07 +03:00
levlam
6cff780af9 Add chatEventLogFilters.forum_changes. 2022-10-17 20:33:39 +03:00
levlam
87b3d9415c Add forum-related chat actions. 2022-10-17 20:30:34 +03:00
levlam
2d8d3716f9 Add td_api::chatEventActiveUsernamesChanged. 2022-10-14 18:02:03 +03:00
levlam
87174e5e81 Update layer to 148. 2022-10-07 18:04:00 +03:00
levlam
7ff1ec04b1 Improve log and error messages. 2022-10-05 21:29:05 +03:00
levlam
d2ad29725d Replace actor in chatEventMessagePinned/chatEventMessageUnpinned. 2022-09-15 21:35:37 +03:00
levlam
0b8e143056 Add class ChatAvailableReactions. 2022-08-30 11:45:27 +03:00