Commit Graph

6192 Commits

Author SHA1 Message Date
levlam
26c18680f2 Move DialogParticipantFilter to separate header. 2022-03-19 21:37:46 +03:00
levlam
329e351e09 Simplify DialogParticipantStatus constructors. 2022-03-19 20:34:16 +03:00
levlam
a8df27c3d9 Add get_administrator_rights function. 2022-03-19 01:22:45 +03:00
levlam
5d71289b72 Move get_dialog_participant_status to DialogParticipantStatus constructor. 2022-03-18 19:13:22 +03:00
levlam
f8e8bc6035 Move restriction flags to RestrictedRights. 2022-03-18 18:47:34 +03:00
levlam
2c38e261d2 Reuse RestrictedRights::get_chat_banned_rights. 2022-03-18 18:27:10 +03:00
levlam
0c9943c42e Remove separate GET_RESTRICTED_RIGHTS flags. 2022-03-18 18:14:39 +03:00
levlam
d913e6ec0e Add get_effective_restricted_rights. 2022-03-18 17:50:55 +03:00
levlam
07b4f6c16d Remove duplicate administrator flags from DialogParticipantStatus. 2022-03-18 16:56:22 +03:00
levlam
d97d20a420 Reuse AdministratorRights get_ methods. 2022-03-18 16:25:07 +03:00
levlam
163bfbcc7a Reuse AdministratorRights and RestrictedRights methods. 2022-03-18 16:07:14 +03:00
levlam
aa80935b73 Add class AdministratorRights. 2022-03-18 15:44:41 +03:00
levlam
a434bad933 Improve error messages for forwards of messages with protected content. 2022-03-16 15:56:01 +03:00
levlam
3f54c301ea Update version to 1.8.2. 2022-03-15 20:09:29 +03:00
levlam
c9441d78be Allow to send MentionName using TextUrl entities. 2022-03-15 14:49:05 +03:00
alyral
a78245ee69
Add more Settings links (#1884) 2022-03-14 20:13:59 +03:00
Andrea Cavalli
48a93aadb9
Support function generic result type (#1809)
Fixes #1708
2022-03-14 16:29:17 +03:00
levlam
f9efb87f7d Improve log message. 2022-03-14 14:08:04 +03:00
levlam
37123a50ff Don't create vectors using set iterators. 2022-03-12 13:22:07 +03:00
levlam
29caadd4c9 Simplify optional photo initialization. 2022-03-12 10:54:02 +03:00
levlam
c8ff8d94f5 Improve documentation. 2022-03-12 10:53:36 +03:00
levlam
eb89f8b35f Minor include fixes. 2022-03-12 00:50:04 +03:00
levlam
89242e69fc Always send updateFileDownloads on launch. 2022-03-11 21:42:19 +03:00
levlam
1f38124861 Use FlatHashSet. 2022-03-11 21:38:48 +03:00
levlam
8b16cf7271 Make all fields in Dependencies class private. 2022-03-11 15:31:28 +03:00
levlam
a136a9d22b Move methods inside Dependencies class. 2022-03-11 15:10:24 +03:00
levlam
a0a135dbda Avoid informal 'info' in documentation. 2022-03-11 13:08:36 +03:00
levlam
ff9f5b88d9 Ignore invite links to deactivated basic groups. 2022-03-11 13:00:25 +03:00
levlam
242801a2f3 Improve boolean fields documentation. 2022-03-10 21:58:16 +03:00
levlam
7f7344c363 Add separate FlatHashSet.h. 2022-03-09 23:01:10 +03:00
levlam
88ce431f39 Minor fixes. 2022-03-09 03:27:03 +03:00
levlam
017949d861 Improve sending and response handling for GetGroupCallStreamChannelsQuery. 2022-03-01 03:12:56 +03:00
levlam
84af0e176f Add groupCall.has_hidden_listeners. 2022-03-01 02:33:14 +03:00
levlam
11d21d7af4 Improve phone number cache. 2022-02-28 22:43:17 +03:00
levlam
37ccac3867 Add methods for managing an RTMP URL for a video chat. 2022-02-25 17:58:03 +03:00
levlam
83d26f3335 Add parameter only_preview to sendMessageAlbum. 2022-02-22 22:42:46 +03:00
levlam
679b70efa5 Return message objects from MessagesManager::send_message_group. 2022-02-22 21:51:35 +03:00
levlam
54b143e91d Add groupCall.is_rtmp_stream. 2022-02-22 21:16:10 +03:00
levlam
8772984a69 Add td_api::getGroupCallStreams. 2022-02-22 17:42:58 +03:00
levlam
719bdb1e08 Allow to create RTMP video chats. 2022-02-22 16:37:11 +03:00
levlam
4e1f2cbf8b Add td_api::searchOutgoingDocumentMessages. 2022-02-22 15:58:16 +03:00
levlam
867c95bdb2 Add td_api::internalLinkTypeUserPhoneNumber. 2022-02-18 18:56:58 +03:00
levlam
a92d1b2ae4 Add td_api::searchUserByPhoneNumber. 2022-02-18 18:13:10 +03:00
levlam
254d74c4a6 Add cache for resolved phone numbers. 2022-02-18 17:22:27 +03:00
levlam
0939ad3db3 Add clean_phone_number. 2022-02-18 16:57:08 +03:00
levlam
ad22bf1174 Add two new chat report reasons. 2022-02-18 16:12:39 +03:00
levlam
2bdd0d0c9a Update layer to 139. 2022-02-18 15:40:34 +03:00
levlam
985927fa2a Never fetch reactions for service messages. 2022-03-08 21:05:46 +03:00
levlam
6353082364 Rephrase ambigous 'if any' in documentation. 2022-03-07 22:11:56 +03:00
levlam
7102117ed4 Send at most one getMessageViews query for a given message. 2022-03-07 20:17:00 +03:00