levlam
|
aa6ed42734
|
Add class CustomEmojiId.
|
2022-10-03 01:26:32 +03:00 |
|
levlam
|
6c91b9aa6b
|
Create all dialogs before initializing inactive_channel_ids_.
|
2022-09-21 18:55:21 +03:00 |
|
levlam
|
085ac48a9f
|
Send updateUser when premium status expires.
|
2022-09-01 22:26:04 +03:00 |
|
levlam
|
df53830161
|
Add parameter setPremiumStatus.duration.
|
2022-09-01 22:04:33 +03:00 |
|
levlam
|
5d7a36a262
|
Make updates about change of premium status more robust.
|
2022-09-01 20:33:41 +03:00 |
|
levlam
|
52b973af35
|
Add class EmojiStatus.
|
2022-08-30 16:02:25 +03:00 |
|
levlam
|
ce845b0753
|
Process updateUserEmojiStatus.
|
2022-08-23 18:14:46 +03:00 |
|
levlam
|
02b42d7ee6
|
Add td_api::setPremiumBadge.
|
2022-08-09 15:49:47 +03:00 |
|
levlam
|
ff039e2195
|
Add user.premium_badge_custom_emoji_id.
|
2022-08-08 23:41:06 +03:00 |
|
levlam
|
092499a7c6
|
Use WaitFreeHashSet where appropriate.
|
2022-08-21 00:20:57 +03:00 |
|
levlam
|
73f945bd8b
|
Support setting "is_location_visible" option before authorization.
|
2022-08-19 14:16:53 +03:00 |
|
levlam
|
44e96081c6
|
Support file reference repair for bot description photo and animation.
|
2022-08-06 13:42:35 +03:00 |
|
levlam
|
e5b453d169
|
Use WaitFreeHashMap in ContactsManager.
|
2022-08-04 16:18:41 +03:00 |
|
levlam
|
45f68d9e06
|
Ensure that voice_messages_forbidden is false for non-premium users.
|
2022-07-17 17:15:15 +03:00 |
|
levlam
|
fcfe9c3996
|
Add userFullInfo.as_restricted_voice_and_video_note_messages.
|
2022-07-17 16:59:12 +03:00 |
|
levlam
|
035f24b8e9
|
Add userFullInfo.premium_gift_options.
|
2022-07-01 15:57:38 +03:00 |
|
levlam
|
8537b3d495
|
Move MultiTimeout to MultiTimeout.h.
|
2022-07-02 23:32:18 +03:00 |
|
levlam
|
32bac7bd24
|
Move Promise to tdutils.
|
2022-06-27 13:30:18 +03:00 |
|
levlam
|
54fea1a8c5
|
Reload ChatFull with outdated photo.
|
2022-06-20 18:40:13 +03:00 |
|
levlam
|
8fae960e43
|
Support premium stickers in secret chats.
|
2022-06-03 17:31:48 +03:00 |
|
levlam
|
42ab42c83a
|
Add bio_length_max option.
|
2022-05-30 03:23:21 +03:00 |
|
levlam
|
e28828fb97
|
Add user.added_to_attachment_menu flag.
|
2022-05-11 19:30:35 +03:00 |
|
levlam
|
7cd74e2660
|
Add user.is_premium flag.
|
2022-05-02 16:23:48 +03:00 |
|
levlam
|
d351636c83
|
Store unmodified server join_to_send/join_request flags.
|
2022-05-02 15:45:35 +03:00 |
|
levlam
|
90287d65ed
|
Add methods for toggling join_to_send_messages and join_by_request.
|
2022-04-29 18:25:29 +03:00 |
|
levlam
|
1d1a9584a1
|
Add supergroup.join_to_send_messages/join_by_request.
|
2022-04-29 17:54:28 +03:00 |
|
levlam
|
61409736ad
|
Support photo and animation in botInfo.
|
2022-04-19 22:56:58 +03:00 |
|
levlam
|
cfc20397a0
|
Update layer to 143.
|
2022-04-19 17:43:24 +03:00 |
|
levlam
|
883f6d2286
|
Copy can_be_deleted flag to Channel to avoid ChannelFull loading.
|
2022-05-15 12:48:22 +03:00 |
|
levlam
|
c17520fdbc
|
Implement getSupportUser with request promise instead of RequestActor.
|
2022-05-14 18:54:21 +03:00 |
|
levlam
|
1995cbe6bc
|
Simplify getSupportUser implementation.
|
2022-05-14 18:29:34 +03:00 |
|
levlam
|
6790c309ac
|
Move data reloading to UpdatesManager.
|
2022-05-12 16:34:13 +03:00 |
|
levlam
|
995b06b317
|
Drop ChatFull/ChannelFull photo after updating chat/channel photo.
|
2022-05-06 12:41:55 +03:00 |
|
levlam
|
68ad0b4317
|
Add ContactsManager::get_dialog_id.
|
2022-04-30 21:13:01 +03:00 |
|
levlam
|
834a541bc3
|
Add apply_pending_user_photo and use it in on_get_user_full.
|
2022-04-29 11:23:27 +03:00 |
|
levlam
|
840cedf49c
|
Drop ChatFull/ChannelFull photos if chat/channel photo is different.
|
2022-04-28 21:18:57 +03:00 |
|
levlam
|
d106148618
|
Update chat/channel photo whenever receive new full chat/channel photo.
|
2022-04-28 20:35:44 +03:00 |
|
levlam
|
161d34fc15
|
Keep in chat list empty joined basic groups.
|
2022-04-08 15:35:21 +03:00 |
|
levlam
|
4155752cdf
|
Add td_api::getMenuButton.
|
2022-04-07 17:20:26 +03:00 |
|
levlam
|
62612b9668
|
Add BotMenuButton.
|
2022-04-06 20:24:54 +03:00 |
|
levlam
|
713debab58
|
Update participant cache after changing their rights.
|
2022-04-04 17:16:31 +03:00 |
|
levlam
|
c3996b4726
|
Always adjust administrator rights for supergroups and channels.
|
2022-04-04 16:19:41 +03:00 |
|
levlam
|
1d6488ab09
|
Add ContactsManager::is_broadcast_channel/is_megagroup_channel helpers.
|
2022-04-04 15:48:33 +03:00 |
|
levlam
|
a8a343704a
|
Add ChannelType.h.
|
2022-04-04 15:35:09 +03:00 |
|
levlam
|
5b81010f0b
|
Add promise to reload_attach_menu_bots.
|
2022-03-29 15:42:57 +03:00 |
|
levlam
|
759d02770d
|
Allow to use deleteChatHistory to revoke messages for all members in some channels.
|
2022-03-29 12:14:21 +03:00 |
|
levlam
|
0375704460
|
Use get_input_user instead of have_input_user.
|
2022-03-28 20:26:28 +03:00 |
|
levlam
|
ec802b1b57
|
Add updateAttachMenuBots.
|
2022-03-25 16:00:06 +03:00 |
|
levlam
|
234c7423bf
|
Add userTypeBot.can_be_added_to_attach_menu flag.
|
2022-03-25 13:02:01 +03:00 |
|
levlam
|
afa00d8b00
|
Add default administrator rights to botInfo.
|
2022-03-22 14:52:27 +03:00 |
|
levlam
|
479667dd1a
|
Update layer to 140.
|
2022-03-18 14:46:01 +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
|
1f38124861
|
Use FlatHashSet.
|
2022-03-11 21:38:48 +03:00 |
|
levlam
|
ff9f5b88d9
|
Ignore invite links to deactivated basic groups.
|
2022-03-11 13:00:25 +03:00 |
|
levlam
|
11d21d7af4
|
Improve phone number cache.
|
2022-02-28 22:43:17 +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
|
b4fda2d45a
|
Use FlatHashMap in mtproto and td_json_client.
|
2022-02-09 16:05:53 +03:00 |
|
levlam
|
bcc2adeb47
|
Fix includes and formatting.
|
2022-02-08 00:04:34 +03:00 |
|
Arseny Smirnov
|
86bceb2972
|
td: replace most of std::unordered_map usages to td::FlatHashMap
|
2022-02-07 21:21:31 +01:00 |
|
levlam
|
91ff746180
|
Add HAS_AVAILABLE_REACTIONS flags.
|
2022-01-04 16:35:48 +03:00 |
|
levlam
|
8085779cdc
|
Update copyright year.
|
2022-01-01 03:35:39 +03:00 |
|
levlam
|
160ab905f1
|
Fix handling of min-channels in recent repliers.
|
2021-12-22 20:15:18 +03:00 |
|
levlam
|
1fd2e3b629
|
Return information about min-channels.
|
2021-12-22 16:48:23 +03:00 |
|
levlam
|
758a391e55
|
Store title and photo of min-channels.
|
2021-12-22 16:09:34 +03:00 |
|
levlam
|
3b2e7cf5d0
|
Fix compilation error.
|
2021-12-19 18:02:46 +03:00 |
|
levlam
|
93464ccd27
|
Use request promise in getChatAdministrators.
|
2021-12-18 22:44:25 +03:00 |
|
levlam
|
b060536ae3
|
Return Result<...> from get_input_user.
|
2021-12-16 22:46:03 +03:00 |
|
levlam
|
2f1d78f00e
|
Add constants for noforward flags.
|
2021-12-12 15:12:19 +03:00 |
|
levlam
|
129601b6c1
|
Add "channel_bot_user_id" option.
|
2021-12-09 16:36:27 +03:00 |
|
levlam
|
831ca4b975
|
Rename allow_saving_content to has_private_content.
|
2021-12-06 21:43:55 +03:00 |
|
levlam
|
ecc8889cac
|
Reload created public dialogs after local list changes.
|
2021-12-03 20:22:49 +03:00 |
|
levlam
|
fb9bb3cd69
|
Save and load lists of created public channels.
|
2021-12-03 20:10:30 +03:00 |
|
levlam
|
03baffcd1f
|
Combine GetCreatedPublicChannels queries.
|
2021-12-03 15:40:39 +03:00 |
|
levlam
|
93af4377b7
|
Store created public broadcasts in MessagesManager.
|
2021-12-03 12:28:33 +03:00 |
|
levlam
|
cffe34e5b2
|
Update created public channels instead of dropping them when ownership is changed.
|
2021-12-02 18:10:14 +03:00 |
|
levlam
|
b3bc208d63
|
Update created public channels after has_location is changed.
|
2021-12-02 17:12:33 +03:00 |
|
levlam
|
5512700b77
|
Immediately reload *Full after invalidation in opened chats.
|
2021-12-01 23:31:10 +03:00 |
|
levlam
|
0ce9391ff1
|
Increase Chat/Channel cache version to get actual value of noforwards.
|
2021-11-25 11:45:42 +03:00 |
|
levlam
|
10159fbdf1
|
Add toggleChatAllowSavingContent.
|
2021-11-25 11:44:51 +03:00 |
|
levlam
|
d381323f56
|
Add chat.allow_saving_content flag.
|
2021-11-24 20:03:38 +03:00 |
|
levlam
|
0b2207f180
|
Add td_api::processChatJoinRequests.
|
2021-11-24 12:02:23 +03:00 |
|
levlam
|
f644dedcfa
|
Replace private forward name before forwarding.
|
2021-11-22 11:17:28 +03:00 |
|
levlam
|
8f2a09f2cb
|
Add userFullInfo.has_private_forwards.
|
2021-11-20 22:48:44 +03:00 |
|
levlam
|
993a9e24c4
|
Remove user_id from reportSupergroupSpam.
|
2021-11-19 17:12:38 +03:00 |
|
levlam
|
fe8e521a41
|
Add chat.default_sender_id.
|
2021-11-12 16:15:19 +03:00 |
|
levlam
|
3070415ccd
|
Use common QueryCombiner for get chat/channel full requests.
|
2021-12-06 21:22:56 +03:00 |
|
levlam
|
25baedaa34
|
Move dismiss_suggested_action to SuggestedAction.cpp.
|
2021-11-26 14:48:43 +03:00 |
|
levlam
|
c49c5954ed
|
Immediately drop User.is_changed flags after usage.
|
2021-11-25 14:18:06 +03:00 |
|
levlam
|
36d4de747f
|
Move website authorization functions to Account.cpp.
|
2021-11-16 13:13:06 +03:00 |
|
levlam
|
c64cc8ad26
|
Move account-related methods to Account.cpp.
|
2021-11-16 13:02:07 +03:00 |
|
levlam
|
922fd9b17b
|
Pass chat member status as DialogParticipantStatus.
|
2021-11-15 17:57:00 +03:00 |
|
levlam
|
5987ca69ff
|
Move get_message_sender_dialog_id to MessageSender.cpp.
|
2021-11-15 12:07:52 +03:00 |
|
levlam
|
c29b096e79
|
Move logic out of ImportContactsQuery.
|
2021-11-12 07:37:53 +03:00 |
|
levlam
|
8db8f170f1
|
Add do_import_contacts.
|
2021-11-11 21:57:09 +03:00 |
|
levlam
|
b731414d42
|
Init some fields just in case.
|
2021-11-11 17:39:09 +03:00 |
|
levlam
|
47f3363ca8
|
Improve field names.
|
2021-11-04 09:52:27 +03:00 |
|
levlam
|
39b5db357e
|
Add updateNewChatJoinRequest.
|
2021-10-28 22:49:56 +03:00 |
|
levlam
|
97243b53e4
|
Allow to create and edit chat invite links with title.
|
2021-10-27 13:04:34 +03:00 |
|
levlam
|
0a9f6b1c91
|
Add approve/declineCjatJoinRequest.
|
2021-10-13 23:10:47 +03:00 |
|
levlam
|
1a7f4b4d3e
|
Add td_api::getChatJoinRequests.
|
2021-10-13 22:33:31 +03:00 |
|
levlam
|
d6502458f5
|
Allow to get option "is_location_visible".
|
2021-10-12 22:05:14 +03:00 |
|
levlam
|
0f6247f856
|
Nullify pending_join_request_count if have no enough rights.
|
2021-10-12 19:39:03 +03:00 |
|
levlam
|
e49ae700b6
|
Add chat.pending_join_request_count.
|
2021-10-12 18:11:17 +03:00 |
|
levlam
|
64d572bcbe
|
Allow creation and edit of invite links, requiring approval.
|
2021-10-09 14:20:48 +03:00 |
|
levlam
|
63d86176f2
|
Add chatInviteLinkInfo.description/requires_approval.
|
2021-10-09 13:19:38 +03:00 |
|
levlam
|
9f44816a62
|
Minor improvements.
|
2021-10-21 12:51:16 +03:00 |
|
levlam
|
db7aa28bdf
|
A lot more minor improvements.
|
2021-10-19 18:11:16 +03:00 |
|
levlam
|
13c48e590d
|
Fix profile photo reuploading.
|
2021-10-01 19:19:14 +03:00 |
|
levlam
|
4f9b35ea72
|
Use get_contact in importContacts and changeImportedContacts.
|
2021-09-30 14:18:01 +03:00 |
|
levlam
|
44efa70789
|
Pass Contact to add_contact.
|
2021-09-30 13:53:16 +03:00 |
|
levlam
|
2ec2e4d78f
|
Use "set"/"toogle" instead of "change".
|
2021-09-24 10:42:39 +03:00 |
|
levlam
|
f2908bb7e5
|
Allow to add non-members as administrators in basic groups using setChatMemberStatus.
|
2021-09-24 10:20:50 +03:00 |
|
levlam
|
e212d1293d
|
Send stats.getMessagePublicForwards to the correct DC.
|
2021-09-24 09:07:38 +03:00 |
|
levlam
|
a3c8da47a0
|
Return void from load_*_full.
|
2021-09-23 18:52:39 +03:00 |
|
levlam
|
db18baa503
|
Unify include order.
|
2021-09-19 00:47:05 +03:00 |
|
levlam
|
02ae56ae8a
|
Improve validness checks for UserId/ChatId/ChannelId.
|
2021-09-14 17:09:40 +03:00 |
|
levlam
|
a4f66c69cb
|
Add td_api::getMessageViewers.
|
2021-09-03 16:14:03 +03:00 |
|
levlam
|
41c391f140
|
Update layer to 133.
|
2021-09-03 12:27:59 +03:00 |
|
levlam
|
8117853ea4
|
Add logging on partial update*FullInfo.
|
2021-09-07 18:20:34 +03:00 |
|
levlam
|
168399f21d
|
Add source to update_*_full.
|
2021-09-07 17:41:56 +03:00 |
|
levlam
|
828e1e22a0
|
Skip unneeded getFullChannel requests.
|
2021-08-23 11:10:46 +03:00 |
|
levlam
|
d1b985430c
|
Add source to ContactsManager::load_user_full.
|
2021-08-02 06:14:59 +03:00 |
|
levlam
|
3156492c2f
|
Add source to ContactsManager::load_channel_full.
|
2021-08-02 05:50:52 +03:00 |
|
levlam
|
58c99ed63a
|
Don't ignore forcely loaded after close users and chats.
|
2021-07-19 04:27:44 +03:00 |
|
levlam
|
13fcffd711
|
Replace GetChatMemberRequest with REQUEST_PROMISE.
|
2021-07-19 04:17:29 +03:00 |
|
levlam
|
e649098194
|
Improve error messages for invalid member_id parameters.
|
2021-07-16 04:23:05 +03:00 |
|
levlam
|
40c5d47717
|
Make inherited classes final if possible.
|
2021-07-04 05:58:54 +03:00 |
|
levlam
|
edfa5d1d98
|
Use final instead of override.
|
2021-07-03 23:51:36 +03:00 |
|
levlam
|
8b5a55c798
|
Update member restrictions before returning it in getChatMember.
|
2021-07-02 21:30:27 +03:00 |
|
levlam
|
f210906dca
|
Support updateBotCommands.
|
2021-06-28 18:32:29 +03:00 |
|
levlam
|
9b85516cfd
|
Move bot command handling functions to BotCommand.cpp.
|
2021-06-22 04:25:15 +03:00 |
|
levlam
|
e8b32d9b05
|
Add td_api::deleteCommands.
|
2021-06-22 04:17:44 +03:00 |
|
levlam
|
337dbc86d9
|
Remove class BotInfo.
|
2021-06-21 04:30:02 +03:00 |
|
levlam
|
9940dd74db
|
Remove botInfo class from API.
|
2021-06-21 04:14:29 +03:00 |
|
levlam
|
1904aa77b1
|
Add bot_commands to *Full.
|
2021-06-21 04:01:13 +03:00 |
|
levlam
|
5f9fd502b7
|
Replace botInfo with commands in userFullInfo.
|
2021-06-21 02:36:04 +03:00 |
|
levlam
|
f165429143
|
Add classes BotCommand and BotCommands.
|
2021-06-21 02:08:11 +03:00 |
|
levlam
|
d9dc6f875d
|
Move bot description from BotInfo to UserFull.
|
2021-06-21 01:12:34 +03:00 |
|
levlam
|
1202d55e27
|
Add getCommands method.
|
2021-06-19 04:18:02 +03:00 |
|
levlam
|
62a543cb35
|
Add BotCommandScope to setCommands.
|
2021-06-19 04:00:23 +03:00 |
|
levlam
|
9440925711
|
Move some classes inside corresponding managers.
|
2021-06-18 03:06:20 +03:00 |
|
levlam
|
1e8724127a
|
Add cache of channel participants for bots-administrators.
|
2021-06-12 23:53:14 +03:00 |
|
levlam
|
6f51690275
|
Add ContactsManager::on_get_channel_participant.
|
2021-06-11 20:02:49 +03:00 |
|
levlam
|
411d30e1c7
|
Remove Td::on_channel_unban_timeout proxy.
|
2021-06-10 21:56:05 +03:00 |
|
levlam
|
4a13e791bb
|
Don't load ChannelFull from database in invalidate_channel_full.
|
2021-05-09 03:21:18 +03:00 |
|
levlam
|
25a6cb07bc
|
Add more checks.
|
2021-05-09 02:53:15 +03:00 |
|
levlam
|
14fc0898ad
|
Support banning and unbanning channels and supergroups.
|
2021-03-26 04:11:30 +03:00 |
|
levlam
|
f28af4ab20
|
Add ContactsManager::get_participant_dialog_id.
|
2021-03-26 03:17:30 +03:00 |
|
levlam
|
ffc847dbf5
|
Replace search_among_users with search_among_dialogs.
|
2021-03-26 02:39:24 +03:00 |
|
levlam
|
206cd55479
|
Support chat-members in getChatMember.
|
2021-03-24 23:40:13 +03:00 |
|
levlam
|
a83362c4d1
|
Add source to on_load_channel_full_from_database.
|
2021-04-12 04:51:01 +03:00 |
|
levlam
|
e72863ff84
|
Drop repair_request_version after failed GetChannelFullQuery.
|
2021-04-12 04:20:43 +03:00 |
|
levlam
|
105542fc9a
|
Speculatively update participant count when joining/leaving channels.
|
2021-04-12 03:54:07 +03:00 |
|
levlam
|
13a80bc4e8
|
Use send_closure_later to avoid cycles in add_message_to_dialog.
|
2021-03-29 22:36:29 +03:00 |
|
levlam
|
984e79b7f7
|
Drop channel invite link, only when corresponding administrator right is removed.
|
2021-03-28 02:35:11 +03:00 |
|
levlam
|
dd4aac2f57
|
Init bio in fake updateGroupCallParticipant when joining call.
|
2021-03-07 01:54:45 +03:00 |
|
levlam
|
1c3290bada
|
Fix warning.
|
2021-03-04 15:10:58 +03:00 |
|
levlam
|
813b141148
|
Fix channelParticipantSelf handling.
|
2021-03-01 02:33:38 +03:00 |
|
levlam
|
18fc612b3b
|
Rename administrator_user_id to creator_user_id.
|
2021-02-25 16:02:07 +03:00 |
|
levlam
|
c733f8ed34
|
Minor improvements.
|
2021-02-25 15:56:26 +03:00 |
|
levlam
|
1e7795354d
|
Add td_api::getChatInviteLink.
|
2021-02-24 22:25:10 +03:00 |
|
levlam
|
332b7a6edb
|
Support dismissing of chat-specific suggested actions.
|
2021-02-22 19:38:40 +03:00 |
|
levlam
|
b67bafb23c
|
Add td_api::suggestedActionConvertToBroadcastGroup.
|
2021-02-22 18:06:18 +03:00 |
|
levlam
|
c07a1dac22
|
Unify UserFull/ChatFull/ChannelFull variable names.
|
2021-02-20 22:20:02 +03:00 |
|
levlam
|
62a4c0c58d
|
Add updateChatMember.
|
2021-02-19 13:57:46 +03:00 |
|
levlam
|
fd190bc9bd
|
Process updateChatParticipant and updateBotStopped.
|
2021-02-19 02:16:50 +03:00 |
|
levlam
|
9b62afbea2
|
Add td_api::toggleSupergroupIsBroadcastGroup.
|
2021-02-17 01:06:35 +03:00 |
|
levlam
|
5955b43d88
|
Add supergroup.is_broadcast_group flag.
|
2021-02-16 18:27:17 +03:00 |
|
levlam
|
cc50f3b143
|
Support receiving message TTL setting for all chat types.
|
2021-02-09 17:35:48 +03:00 |
|
levlam
|
4cb8af0584
|
Support revoking permanent chat invite links.
|
2021-02-05 18:56:44 +03:00 |
|
levlam
|
342b4e45ca
|
Support deletion of all revoked invite links created by other administrator.
|
2021-02-05 02:17:12 +03:00 |
|
levlam
|
f2f68aa3b3
|
Add td_api::getChatInviteLinkCounts.
|
2021-02-02 19:23:45 +03:00 |
|
levlam
|
642a9a9efb
|
Update layer to 124.
|
2021-02-02 02:00:28 +03:00 |
|
levlam
|
22289fe68b
|
Move struct definition back to header to fix SplitSource-build.
|
2021-02-12 16:53:40 +03:00 |
|
levlam
|
9e37c85af3
|
Minor improvements.
|
2021-01-27 02:57:59 +03:00 |
|
levlam
|
cd3abdbeb2
|
Move dialog participant methods from MessagesManager to ContactsManager.
|
2021-01-27 02:16:17 +03:00 |
|
levlam
|
d246318a5c
|
Update permanent invite link after replacing.
|
2021-01-26 23:59:09 +03:00 |
|
levlam
|
37ef232d47
|
Fix function name.
|
2021-01-26 23:15:33 +03:00 |
|
levlam
|
6878b41dc7
|
Update layer 123.
|
2021-01-26 13:07:03 +03:00 |
|
levlam
|
01f613f7bf
|
Add user/supergroup.is_fake.
|
2021-01-21 13:40:22 +03:00 |
|
levlam
|
da4d2b7636
|
Add separate banChatMember method.
|
2021-01-20 21:12:48 +03:00 |
|
levlam
|
7a45faff24
|
Add offset_date support in getChatInviteLinks.
|
2021-01-20 17:30:26 +03:00 |
|
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
|
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
|
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
|
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
|
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
|
0ee37c5e64
|
Ensure that ChannelFull.member_count >= administrator_count after speculative update.
|
2021-01-05 15:18:15 +03:00 |
|
levlam
|
52c1da0a70
|
Update copyright year.
|
2021-01-01 15:57:46 +03:00 |
|
levlam
|
7d73126506
|
Add success promise to on_get_updates.
|
2020-12-21 22:06:52 +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
|
5268f83538
|
Increase chat/channel cache version to reload has_voice_chat flags.
|
2020-12-15 13:10:29 +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
|
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
|
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
|
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
|
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
|
6d9953aea5
|
Add add_anonymous_bot_user.
GitOrigin-RevId: 9eadd5f3621f7c5a2dc065d51d105c07ffc25616
|
2020-10-04 23:33:21 +03:00 |
|
levlam
|
b9e27e28b9
|
Make ContactsManager::get_service_notifications_user_id static.
GitOrigin-RevId: 28c9d570e1b9bfc7987dc299b87c0bb8ac33b38e
|
2020-09-24 23:04:32 +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
|
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
|
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
|
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
|
cd3bf3618b
|
Show comment button only if the linked channel is still the same.
GitOrigin-RevId: cc8f31a56e0de7ace7f8b1a756dd34e14e4a5457
|
2020-09-11 14:51:13 +03:00 |
|
levlam
|
ed782145bf
|
Add reply_count and recent_replier_user_ids to MessageIntercationInfo.
GitOrigin-RevId: 48bae463c091d3d29e3096ebb4c2fbbbeda38dfd
|
2020-08-31 13:42:27 +03:00 |
|
levlam
|
53ca6e4f4a
|
Add td_api::getMessageStatistics.
GitOrigin-RevId: f5d32ef829b91aa1fea59ea88b665fe39d32642c
|
2020-08-01 05:19:54 +03:00 |
|
levlam
|
8e77eacc72
|
Update message interaction info after receiving channel statistics.
GitOrigin-RevId: 6ec1b365c9f1299da1849fa6767f4ec79b627f90
|
2020-07-31 20:03:57 +03:00 |
|
levlam
|
b340b0deaa
|
Update layer 116. Add UserFull.supports_video_calls flag.
GitOrigin-RevId: 67aa9a84ed676e3969beb1c5a01a012167744c6d
|
2020-08-05 21:34:04 +03:00 |
|
levlam
|
4bf3b013c7
|
Add updateChannelParticipant processing.
GitOrigin-RevId: 5701dcbb068583266aaf00b3b4ed5c6336566e76
|
2020-08-03 21:54:28 +03:00 |
|
levlam
|
2e0d642a98
|
Update layer 116. Support new apply_min_photo and can_view_stats flags.
GitOrigin-RevId: beb72d22576496ac082bf4a564c292f9a678b0c1
|
2020-07-28 02:57:23 +03:00 |
|
levlam
|
e34377cbcb
|
Update photo cache after changing profile photo.
GitOrigin-RevId: cb48443fe0dd988e1d6eee40f72a8f12d6a5cefa
|
2020-07-20 21:10:40 +03:00 |
|
levlam
|
a01ad861bd
|
Optionally send updates when deleting profile photo.
GitOrigin-RevId: bb916c244857b4f6838d7ae7108415ad4ec3a2a1
|
2020-07-20 17:23:32 +03:00 |
|