Commit Graph

68 Commits

Author SHA1 Message Date
levlam
afa00d8b00 Add default administrator rights to botInfo. 2022-03-22 14:52:27 +03:00
levlam
ef8d959e98 Add td_api::chatAdministratorRights. 2022-03-22 13:17:48 +03:00
levlam
f743763da4 Reuse get_restricted_rights. 2022-03-22 12:49:58 +03:00
levlam
180c2e34fd Add simpler DialogParticipantStatus constructors. 2022-03-22 12:38:44 +03:00
levlam
17f407abfb Move is_anonymous to AdministratorRights. 2022-03-22 12:09:43 +03:00
levlam
4d13e1354e Move ChannelParticipantFilter to separate header. 2022-03-19 21:53:33 +03:00
levlam
26c18680f2 Move DialogParticipantFilter to separate header. 2022-03-19 21:37:46 +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
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
8085779cdc Update copyright year. 2022-01-01 03:35:39 +03:00
levlam
05b59cc63b Improve DialogParticipant field names. 2021-10-29 14:39:07 +03:00
levlam
d06aa6535d Make DialogParticipantsFilter fields private. 2021-10-23 23:41:13 +03:00
levlam
ed45735de4 Add DialogParticipant::private_member. 2021-10-23 23:22:54 +03:00
levlam
7d4442347d Add DialogParticipantsFilter::is_dialog_participant_suitable. 2021-10-23 22:32:11 +03:00
levlam
1c59f37ca9 Move some methods inside DialogParticipantsFilter class. 2021-10-23 22:23:59 +03:00
levlam
47d4c08de2 Improve field names style. 2021-10-23 21:56:37 +03:00
levlam
db7aa28bdf A lot more minor improvements. 2021-10-19 18:11:16 +03:00
levlam
969b52cc82 Minor improvements. 2021-04-09 02:35:50 +03:00
levlam
adedc7ad4f Support chats as members of other chats. 2021-03-22 04:03:24 +03:00
levlam
984e79b7f7 Drop channel invite link, only when corresponding administrator right is removed. 2021-03-28 02:35:11 +03:00
levlam
813b141148 Fix channelParticipantSelf handling. 2021-03-01 02:33:38 +03:00
levlam
ada09fecee Add can_manage_chat administrator privilege. 2021-02-19 15:58:14 +03:00
levlam
ad43c83bce Add DialogParticipant constructor from telegram_api::ChatParticipant. 2021-02-19 01:38:16 +03:00
levlam
60673fea78 Add get_chat_members_object method. 2021-01-25 02:07:38 +03:00
levlam
ef160aa2c0 Add struct DialogParticipants. 2021-01-25 02:00:57 +03:00
levlam
52b7f8f118 Add DialogParticipantFilter logging. 2021-01-16 11:56:02 +03:00
levlam
52c1da0a70 Update copyright year. 2021-01-01 15:57:46 +03:00
levlam
37f9d6a42d Fix new rights in created chats. 2020-12-07 00:47:48 +03:00
levlam
3e13b0cd31 Add can_manage_calls admin right. 2020-11-24 02:43:14 +03:00
levlam
4b62900c0d Add chatMembersFilterMention.
GitOrigin-RevId: d84138594d1546275e5fea46d9cef42eac69449b
2020-10-19 14:06:35 +03:00
levlam
3f143b013a Use class for DialogParticipantsFilter.
GitOrigin-RevId: 56fc4ee7a35412db965c668f6a116ae29074f0a4
2020-10-19 01:48:31 +03:00
levlam
80d19432bf Add supergroupMembersFilterMention.
GitOrigin-RevId: 370a3880a371879aaefb41ad520917db3e33d679
2020-10-19 01:33:31 +03:00
levlam
01f3eecd85 Add support for is_anonymous administrator right.
GitOrigin-RevId: d0d46d961aebcc67275bb09ec883f6feaa465c63
2020-09-11 01:49:15 +03:00
levlam
57f1ab4daf Add DialogParticipant::left.
GitOrigin-RevId: a3c111f702cf6579d22a2a17d806c772795c676d
2020-08-03 21:16:08 +03:00
levlam
06bd4fa734 Add DialogParticipant validness checks.
GitOrigin-RevId: 74ca340bd890f0bd913a9f0d7aeb3e81f3829cf7
2020-06-30 17:46:36 +03:00
levlam
7a12f49d61 Add DialogParticipant constructor from telegram_api.
GitOrigin-RevId: 8d3080993b029028eb59c561f1fc700db87eb970
2020-06-30 16:43:44 +03:00
levlam
80c35676a2 Update copyright year.
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
2020-01-01 04:23:48 +03:00
levlam
fbbf6470f3 Add support for administrator custom titles.
GitOrigin-RevId: a580b4713daa4746f5cd15e96c438fe179aea893
2019-11-11 10:02:23 +03:00
levlam
3377c38073 Store *Full to database.
GitOrigin-RevId: 160369861878befa880e2b4355fd6585977f84dc
2019-09-18 02:14:24 +03:00
levlam
c03b2396fa Fix MSVC 15.3 warnings.
GitOrigin-RevId: 798de56bef2ea061d996e5bf2feec75f4800c32e
2019-09-08 23:40:30 +03:00
levlam
b4b9778947 Add td_api::chatMembersFilterContacts.
GitOrigin-RevId: 2f8f18da88a0de2c5df5bd1d0207d424b6b4e89b
2019-05-12 21:49:21 +03:00
levlam
eed517a2e7 Fix bot permissions.
GitOrigin-RevId: 86929755cff1673c3404beeff2a6bfbfcb2e2365
2019-03-22 18:32:06 +03:00
levlam
e83184f9fc New chat permissions checking.
GitOrigin-RevId: ef555c6cb407efbf3092cda554b1992155c6e1e4
2019-03-22 18:18:46 +03:00