Commit Graph

47 Commits

Author SHA1 Message Date
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
levlam
bb2034ae36 Update layer to 145. 2022-08-08 23:00:06 +03:00
levlam
e1cf18f1cc Support chatInvitePublicJoinRequests. 2022-05-25 17:17:14 +03:00
levlam
59e926350e Add source to DialogInviteLink constructor. 2022-05-25 16:31:17 +03:00
levlam
88b9f35b91 Add PhotoSize.h. 2022-04-10 01:15:49 +03:00
levlam
e2f9cc399f Pass correct ChannelType to DialogParticipant constructor. 2022-04-04 16:29:46 +03:00
levlam
7f587c24d9 Replace get_restricted_rights with RestrictedRights constructors. 2022-04-04 14:13:51 +03:00
levlam
d5d4f4acf7 Fix remaining FlatHashMap usages. 2022-02-10 18:03:03 +03:00
levlam
facb8f754a Move list of active reactions to MessagesManager. 2022-01-19 18:59:48 +03:00
levlam
47a445851a Add td_api::chatEventAvailableReactionsChanged. 2022-01-04 17:55:57 +03:00
levlam
8085779cdc Update copyright year. 2022-01-01 03:35:39 +03:00
levlam
20a460aeb3 Update layer to 136. 2021-12-28 17:19:18 +03:00
levlam
461b312369 Rename chat log event to chatEventVideoChatEnded. 2021-12-23 12:42:21 +03:00
levlam
cbc6d25a44 Replace user_id with member_id in chatEventLog. 2021-12-21 14:53:22 +03:00
levlam
4e29d0e232 Rename message_ttl_setting to message_ttl. 2021-12-21 14:06:15 +03:00
levlam
b060536ae3 Return Result<...> from get_input_user. 2021-12-16 22:46:03 +03:00
levlam
831ca4b975 Rename allow_saving_content to has_private_content. 2021-12-06 21:43:55 +03:00
levlam
0c6922a0bf Fix chatEventAllowSavingContentToggled. 2021-11-30 13:32:01 +03:00
levlam
cb7bd82c01 Add chatEventAllowSavingContentToggled. 2021-11-23 16:07:26 +03:00
levlam
6ace4fdf36 Update layer to 135. 2021-11-09 19:07:55 +03:00
levlam
a56c34c4dd Move get_message_sender_object to MessageSender.cpp. 2021-11-15 01:18:47 +03:00
levlam
00cea653bf Improve includes. 2021-11-09 19:02:01 +03:00
levlam
a3e9a0be1f Move get_dialog_event_log to separate file. 2021-11-09 16:54:49 +03:00