levlam
|
dbf1253075
|
Replace deleteSupergroup with universal deleteChat method.
|
2021-01-20 14:49:18 +03:00 |
|
levlam
|
c7e4abb0a5
|
Add deleteChat method support.
|
2021-01-19 14:10:25 +03:00 |
|
levlam
|
936dbbb254
|
Add separate method for revoking chat invite links.
|
2021-01-18 22:35:28 +03:00 |
|
levlam
|
840c1ba8f9
|
Ignore *FullInfo without invite link.
|
2021-01-18 20:29:02 +03:00 |
|
levlam
|
3f91df5a47
|
Add td_api::deleteRevokedChatInviteLink.
|
2021-01-18 19:59:21 +03:00 |
|
levlam
|
93645ca29d
|
Add td_api::deleteRevokedChatInviteLink.
|
2021-01-18 19:51:46 +03:00 |
|
levlam
|
d52c676912
|
Add getChatInviteLinks.is_revoked.
|
2021-01-18 19:32:53 +03:00 |
|
levlam
|
65bf9ad604
|
Improve field names and documentation.
|
2021-01-17 23:07:17 +03:00 |
|
levlam
|
3ae02a64c1
|
Make ContactsManager struct declarations private.
|
2021-01-16 19:23:57 +03:00 |
|
levlam
|
1941c0b962
|
Fix loading ChatFull/ChannelFull.
|
2021-01-14 23:40:18 +03:00 |
|
levlam
|
d5c0028e1e
|
Add getChatInviteLinkUsers.
|
2021-01-14 23:21:23 +03:00 |
|
levlam
|
efc12342c2
|
Add getChatInviteLinks method.
|
2021-01-14 19:39:51 +03:00 |
|
levlam
|
9f37354951
|
Return full invite links in *FullInfo.
|
2021-01-13 19:14:08 +03:00 |
|
levlam
|
4761d7385c
|
Move invite link methods to DialogInviteLink.
|
2021-01-13 18:30:58 +03:00 |
|
levlam
|
1816a6c7a5
|
Support permanent invite links.
|
2021-01-13 18:16:33 +03:00 |
|
levlam
|
5016197cf9
|
Load self when creating chat invite link.
|
2021-01-13 16:59:10 +03:00 |
|
levlam
|
3df10dc103
|
Check invite link validness.
|
2021-01-13 16:50:41 +03:00 |
|
levlam
|
b5cd03365d
|
Add DialogInviteLink class.
|
2021-01-13 16:28:24 +03:00 |
|
levlam
|
87a2423f5a
|
Add editChatInviteLink method.
|
2021-01-12 19:21:12 +03:00 |
|
levlam
|
0b7ce1c647
|
Update layer 123. Support new generateChatInviteLink.
|
2021-01-12 17:05:25 +03:00 |
|
levlam
|
3f856ccb46
|
Don't load dialog after ChatFull is loaded from database.
|
2021-01-25 17:58:19 +03:00 |
|
levlam
|
cec5f11d17
|
Don't save group administrators after basic group full is loaded from database.
|
2021-01-25 17:41:49 +03:00 |
|
levlam
|
d25edad06d
|
Rewrite searchChatMembers and getSupergroupMembers implementation.
|
2021-01-25 17:34:45 +03:00 |
|
levlam
|
ef160aa2c0
|
Add struct DialogParticipants.
|
2021-01-25 02:00:57 +03:00 |
|
levlam
|
31265c93f1
|
Add ability to check whether a user is a mutual contact.
|
2021-01-21 16:49:41 +03:00 |
|
levlam
|
2348e175d9
|
Add source to get_chat_full_force.
|
2021-01-16 12:30:48 +03:00 |
|
levlam
|
db77165dad
|
Optimize ContactsManager::search_among_users.
|
2021-01-16 03:14:15 +03:00 |
|
levlam
|
6b909386fd
|
Simplify is_dialog_participant_suitable.
|
2021-01-08 02:01:49 +03:00 |
|
levlam
|
0ee37c5e64
|
Ensure that ChannelFull.member_count >= administrator_count after speculative update.
|
2021-01-05 15:18:15 +03:00 |
|
levlam
|
82f0386e73
|
Move some functions from misc.h to algorithm.h.
|
2021-01-01 16:01:03 +03:00 |
|
levlam
|
52c1da0a70
|
Update copyright year.
|
2021-01-01 15:57:46 +03:00 |
|
levlam
|
dbbfcd5d64
|
Update ChannelFull participant count only after channel is updated.
|
2021-01-01 02:46:37 +03:00 |
|
levlam
|
2394ccd29e
|
Decrease max_participant_count to not update it for groups with 5000+ members.
|
2020-12-29 14:41:17 +03:00 |
|
levlam
|
c8668f224c
|
Update ChannelFull.participant_count when channel.participant_count changes.
|
2020-12-25 18:06:54 +03:00 |
|
levlam
|
ce75097932
|
Increase ChannelFull.participant_count instead of decreasing administrator_count to guarantee that channel has no administrators more than participants.
|
2020-12-25 17:35:41 +03:00 |
|
levlam
|
3589676550
|
Minor fixes.
|
2020-12-22 15:51:57 +03:00 |
|
levlam
|
7d73126506
|
Add success promise to on_get_updates.
|
2020-12-21 22:06:52 +03:00 |
|
levlam
|
3413e38a61
|
Fix can_be_muted flag.
|
2020-12-18 17:08:24 +03:00 |
|
levlam
|
8dd4fe3166
|
Separately apply versioned and unversioned group call updates.
|
2020-12-18 16:23:49 +03:00 |
|
levlam
|
415a64ff24
|
Allow loading channel participants without bot info.
|
2020-12-16 17:43:34 +03:00 |
|
levlam
|
d165a87b73
|
Reload group call if rights has changed.
|
2020-12-16 16:38:06 +03:00 |
|
levlam
|
babd4dc35d
|
Add source to on_update_dialog_group_call.
|
2020-12-15 19:25:07 +03:00 |
|
levlam
|
47a00d257b
|
Fix basic group administrator rights.
|
2020-12-14 22:30:58 +03:00 |
|
levlam
|
98241af35a
|
Support voice chats in basic groups.
|
2020-12-14 17:33:02 +03:00 |
|
levlam
|
6ca15f18c8
|
Move voice chat-related fields to Dialog.
|
2020-12-14 00:36:44 +03:00 |
|
levlam
|
00eed8928c
|
Move voice chat creation to GroupCallManager.
|
2020-12-13 15:18:33 +03:00 |
|
levlam
|
6fdf68bad4
|
Store DialogId in information about group call.
|
2020-12-13 14:52:07 +03:00 |
|
levlam
|
91d4b57713
|
Add recent group call speakers.
|
2020-12-06 10:40:26 +03:00 |
|
levlam
|
f3c8ae83c5
|
Update channel when its group call is changed.
|
2020-12-05 21:28:57 +03:00 |
|
levlam
|
bc5a3d2cec
|
Add supergroup.is_voice_chat_empty flag.
|
2020-12-05 19:43:57 +03:00 |
|
levlam
|
eb9abbb9ab
|
Save voice chat channel_id.
|
2020-12-04 12:40:51 +03:00 |
|
levlam
|
34e05375c1
|
Add GroupCallId class.
|
2020-12-03 19:52:50 +03:00 |
|
levlam
|
eeee625803
|
Rename createVoiceChat method.
|
2020-12-03 01:08:20 +03:00 |
|
levlam
|
e1271c7fa5
|
Add createChatGroupCall.
|
2020-11-26 10:56:13 +03:00 |
|
levlam
|
5d6e55e939
|
Add group_call_id to supergroupFullInfo.
|
2020-11-25 23:07:10 +03:00 |
|
levlam
|
cc47f9b63f
|
Support updateGroupCall.
|
2020-11-25 17:04:32 +03:00 |
|
levlam
|
09b10c0ed1
|
Improve names of statistical classes.
|
2020-11-19 17:57:15 +03:00 |
|
levlam
|
398c7cfd52
|
Don't drop administrator count in non-admined supergroups.
|
2020-11-06 15:16:30 +03:00 |
|
levlam
|
c8949e264d
|
Allow access to channel if it has linked channel, but we can't check access to it.
GitOrigin-RevId: 897e86d18ad2b3c829c4ac544320fa4ee4ebd31b
|
2020-10-31 19:40:08 +03:00 |
|
levlam
|
98ff412f7a
|
Use get_channel_full_const in get methods to avoid unneeded getChannelFull requests.
GitOrigin-RevId: 1959c781b6c85667065e38af125a87186746a233
|
2020-10-31 15:47:40 +03:00 |
|
levlam
|
d28a7245ea
|
Make can_get_channel_message_statistics const to prevent unneeded getChannelFull requests.
GitOrigin-RevId: 90121f149dfa5ec6e586b8932b8507dd25614921
|
2020-10-31 15:28:55 +03:00 |
|
levlam
|
974feddb4a
|
Reload full chat info after pinned message is dropped.
GitOrigin-RevId: 6cbf3d217b5da21f050715ed290cb122d6a4ef2c
|
2020-10-28 14:25:27 +03:00 |
|
levlam
|
bc2de6e5c0
|
Fix td_api::userFullInfo field order.
GitOrigin-RevId: 420adf21e8be165f4783aa1aca4130fb579fa3c2
|
2020-10-24 16:42:17 +03:00 |
|
levlam
|
5442143aba
|
Rename pinned_message_id to last_pinned_message_id.
GitOrigin-RevId: c30148f3559f4ebecd3988c4bddc6cff82da3557
|
2020-10-20 20:28:37 +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
|
9fb26c4ea2
|
Return back UserFull.is_blocked.
GitOrigin-RevId: 98bc31a64c4c644fd6bb9e6e895d521b17df5afa
|
2020-10-17 23:38:07 +03:00 |
|
levlam
|
af6fe68c00
|
Allow to pin messages in all private chats.
GitOrigin-RevId: b5f55c22a6ec5950f5b88b66726bce918112d57f
|
2020-10-15 17:21:15 +03:00 |
|
levlam
|
d968fd0bed
|
Implement new chat action rules.
GitOrigin-RevId: 12214755c86adfee0a7b3ec5f6e39024364cdb99
|
2020-10-26 15:25:34 +03:00 |
|
levlam
|
a6f9fde223
|
Update built-in bot flags.
GitOrigin-RevId: f54618d393b39e14f1269c8237d971ff47402a72
|
2020-10-22 13:21:51 +03:00 |
|
levlam
|
348fdf1a31
|
Add "group_anonymous_bot_user_id" option.
GitOrigin-RevId: efb6ee569861df005a53fd0255c50fdfa0460382
|
2020-10-13 17:02:10 +03:00 |
|
levlam
|
c1309d7657
|
Do not return deleted secret chats and replace migrated basic groups with corresponding supergroups in recently found chats.
GitOrigin-RevId: e50390583e3956a4eb8fdb92ec8a82f04cc7914f
|
2020-10-12 11:33:16 +03:00 |
|
levlam
|
30471b7099
|
Do not send chat actions to offline users like the main Android client.
GitOrigin-RevId: 6299f69ade490fa10bad74779b30a0d73a145ff2
|
2020-10-09 15:42:57 +03:00 |
|
levlam
|
54f32ebc80
|
Add source to resolve_dependencies_force.
GitOrigin-RevId: b09c73df688eea5872d65ec56f0ae1cb10717542
|
2020-10-08 22:54:24 +03:00 |
|
levlam
|
ccc9169051
|
Load all service accounts in getUser.
GitOrigin-RevId: 6e36be3e2e9e8decae1cc599b714ff218b892841
|
2020-10-05 00:19:49 +03:00 |
|
levlam
|
6d9953aea5
|
Add add_anonymous_bot_user.
GitOrigin-RevId: 9eadd5f3621f7c5a2dc065d51d105c07ffc25616
|
2020-10-04 23:33:21 +03:00 |
|
levlam
|
952cfd0cba
|
Fix self Creator status in channels.
GitOrigin-RevId: 883cb8a08cb01e8534001e1f2936f60398ede681
|
2020-10-02 14:12:24 +03:00 |
|
levlam
|
da9141a431
|
Update ContactsManager::have_input_peer_channel.
GitOrigin-RevId: ae8fb4a5d3ee7f7c7740382f35ff01a287770b53
|
2020-09-30 22:40:34 +03:00 |
|
levlam
|
f83022c406
|
Fix warning.
GitOrigin-RevId: 0457285fd8f7313917718c01ef801037257e1053
|
2020-09-30 22:19:46 +03:00 |
|
levlam
|
3eb7714411
|
Fix ContactsManager::have_input_peer_channel.
GitOrigin-RevId: b1b1c702291192a56f8a1ce3675453b84e644356
|
2020-09-30 21:48:50 +03:00 |
|
levlam
|
b2c52ede12
|
Apply user photo for yet unreceived users.
GitOrigin-RevId: 12128a7610733fa614e6d56e3a9d116de09e3251
|
2020-09-29 23:33:44 +03:00 |
|
levlam
|
68229982da
|
Change need_apply_min_photo only from non-min users.
GitOrigin-RevId: c2079f22f63b3717cd049eafcec524a76bbfd8c7
|
2020-09-25 18:09:17 +03:00 |
|
levlam
|
168675efd2
|
Embed @replies bot user.
GitOrigin-RevId: b515d197c29cf768834faed06fbca28b2fb63001
|
2020-09-25 18:08:09 +03:00 |
|
levlam
|
6cb823bbce
|
Add telegram_service_notifications_chat_id and replise_bot_chat_id read-only options.
GitOrigin-RevId: b1fe6a5366bdb1c8c2a4ef06689f0e682fb892d4
|
2020-09-25 00:53:30 +03:00 |
|
levlam
|
b9e27e28b9
|
Make ContactsManager::get_service_notifications_user_id static.
GitOrigin-RevId: 28c9d570e1b9bfc7987dc299b87c0bb8ac33b38e
|
2020-09-24 23:04:32 +03:00 |
|
levlam
|
90ee4bd63c
|
Minor fixes.
GitOrigin-RevId: ef4e2cfe4f198caec26daf04423eb26afedde5bb
|
2020-09-24 19:15:42 +03:00 |
|
levlam
|
e0adaebb91
|
Unify logging of request responses.
GitOrigin-RevId: ae4c0a3881a89aa235baa08c07ec97a914437d8c
|
2020-09-24 16:08:04 +03:00 |
|
levlam
|
5c0d2eb050
|
Add ContactsManager::get_replies_bot_user_id.
GitOrigin-RevId: 17aa32508783894088c05e411434cad96e1178bd
|
2020-09-24 01:28:04 +03:00 |
|
levlam
|
cb3f390a92
|
Unify "log event" spelling.
GitOrigin-RevId: a1a491981596c56dbf7541d80ead1ea9f5d5bd04
|
2020-09-22 02:15:09 +03:00 |
|
levlam
|
9a8895e043
|
Add get_log_event_storer convenience method.
GitOrigin-RevId: 0651bb08a5c41917b69836140e3ff512ab571571
|
2020-09-22 01:39:45 +03:00 |
|
levlam
|
e283ad8ac6
|
Use send_closure_later to load *Full to exclude possibility of loading them from the database synchronously and invoke some side effects such as message loading synchronously.
GitOrigin-RevId: 4c97db4ce3fd517274380eb9eea8e586c6f04399
|
2020-09-21 16:09:17 +03:00 |
|
levlam
|
ecc97d06b9
|
Fix chat blocking.
GitOrigin-RevId: c55076283c272019e0eb2908aab71efc09ad190a
|
2020-09-20 04:30:46 +03:00 |
|
levlam
|
446ba8d406
|
Replace getBlockedUsers with getBlockedChats.
GitOrigin-RevId: 431e0639095b9e01d1b897a52bca4430855560e4
|
2020-09-20 03:29:00 +03:00 |
|
levlam
|
54308a86fe
|
Replace blockUser and unblockUser with toggleChatIsBlocked.
GitOrigin-RevId: 454542b32a7b8efc487afed54c59ae3864ea138e
|
2020-09-20 03:00:01 +03:00 |
|
levlam
|
e3f5719c5c
|
Remove unneeded td_ usages.
GitOrigin-RevId: 4cf456413228f086d7df3d21d7024baf6db1bf15
|
2020-09-20 02:02:27 +03:00 |
|
levlam
|
9ecb61965d
|
Move is_blcoked to Chat.
GitOrigin-RevId: 7d1fc672c9487feba0839b7af669323464243ffc
|
2020-09-20 01:54:40 +03:00 |
|
levlam
|
54ed8cfbc5
|
Save channelFull.is_blocked flag.
GitOrigin-RevId: 1c780c0a700070cfccc38c94b87778a7cd4415f7
|
2020-09-19 14:43:37 +03:00 |
|
levlam
|
b45ccc6d14
|
Update layer 119.
GitOrigin-RevId: fba8e1e0e8cf9b6fda11ab3762bd6efca5865eb8
|
2020-09-18 18:32:59 +03:00 |
|
levlam
|
fb0a43ee93
|
Automatically update message interaction info when linked channel is changed.
GitOrigin-RevId: 248afe64dbb6fe2e3e4fe72e474220e6c257d286
|
2020-09-13 17:52:39 +03:00 |
|
levlam
|
cd3bf3618b
|
Show comment button only if the linked channel is still the same.
GitOrigin-RevId: cc8f31a56e0de7ace7f8b1a756dd34e14e4a5457
|
2020-09-11 14:51:13 +03:00 |
|