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 |
|
levlam
|
6b00f2fe6b
|
Update cache after profile photo deletion instead of dropping it.
GitOrigin-RevId: 0bb120eeececb7706016aec01accd4f6194deef4
|
2020-07-20 17:05:49 +03:00 |
|
levlam
|
1984159963
|
Add old_photo_id to on_change_profile_photo.
GitOrigin-RevId: 28dd86b402d71af595b1ace467791c0896dbad2a
|
2020-07-20 01:53:40 +03:00 |
|
levlam
|
5b69e72b09
|
Update layer 116.
GitOrigin-RevId: 2daddadb7c75132729e8372a7edf40030696d038
|
2020-07-20 00:38:44 +03:00 |
|
levlam
|
09036ad929
|
Invalidate and reload UserFull after receiving first incoming message from the user to fix chatActionBar.
GitOrigin-RevId: 34c0492433475fc49f01159615462e7b7edf7d0b
|
2020-07-10 21:56:28 +03:00 |
|
levlam
|
5e14714182
|
Increase cache version to redownload photo.has_animation flag.
GitOrigin-RevId: f5c103025ba8d21ac5499f37056c1e14a7c4c719
|
2020-07-09 00:59:01 +03:00 |
|
levlam
|
6476e05d1e
|
Change input photo type to InputChatPhoto in setChatPhoto.
GitOrigin-RevId: fae612a07ffdf71f393ffea7951a76808b90f7b3
|
2020-07-08 19:40:23 +03:00 |
|
levlam
|
c1b88e2cc1
|
Allow to specify main_frame_timestamp when setting up animated profile photo.
GitOrigin-RevId: 8e5229642cdf5a454f932c0b201497f019344eab
|
2020-07-07 20:56:54 +03:00 |
|
levlam
|
cf93b3c69c
|
Support initial folder for secret chats.
GitOrigin-RevId: 57894f3ff767a0b24bac08c8251f51f3e4722b6a
|
2020-06-30 12:11:22 +03:00 |
|
levlam
|
de07f2151e
|
Add supergroup statistics.
GitOrigin-RevId: 3ef2bfa925baef0fe7cdd7a8ea8dabab21f313ef
|
2020-06-29 23:51:57 +03:00 |
|
levlam
|
0ed26e5321
|
Improve setProfilePhoto.
GitOrigin-RevId: 9a5ee470c0a38c7989cef642b2f69faa2228baaa
|
2020-06-28 17:44:56 +03:00 |
|
levlam
|
8799a30b6e
|
Add updates about unknown users, etc. in getCurrentState.
GitOrigin-RevId: 137250f7e4e194f4048ee399e0a80bc29c6e0429
|
2020-07-07 18:48:17 +03:00 |
|
levlam
|
de242740a1
|
Postpone channel username change side effects before channel is loaded from database.
GitOrigin-RevId: 50e6cd47c813e346c2b0deed459bf75b65c963b0
|
2020-07-07 16:53:21 +03:00 |
|
levlam
|
abf833e4f3
|
Postpone channel status change side effects before channel is loaded from database.
GitOrigin-RevId: 591b017d47920027d97e0a271158e413fac9ab81
|
2020-07-07 16:34:47 +03:00 |
|
levlam
|
bf287039ce
|
Add checks that updateUser/BasicGroup/Supergroup is sent before update*Full.
GitOrigin-RevId: 8f499cf7cc8e52c93d3abcb79d5b7f22466f0656
|
2020-07-07 15:36:03 +03:00 |
|
levlam
|
a7bd0c3932
|
Add photo to *FullInfo.
GitOrigin-RevId: 21346a0880239abe428799fa58b9132abded6f13
|
2020-07-06 15:26:29 +03:00 |
|
levlam
|
c5cba87bf6
|
Improve user photo registration.
GitOrigin-RevId: 323513d5a30710bb8aabde9476b09be2eb8bd059
|
2020-06-27 21:59:10 +03:00 |
|
levlam
|
2ad13e414e
|
Remove file reference tracing for chat photos.
GitOrigin-RevId: 1cb90efec24192b5a712cabde325c8768e1af572
|
2020-06-27 17:05:45 +03:00 |
|
levlam
|
b02b578ab9
|
Add profile photo to userFullInfo.
GitOrigin-RevId: 8bf6604de32e191a0aa412cab1c00739eb774dd7
|
2020-06-23 19:40:37 +03:00 |
|
levlam
|
7f1c52bbec
|
Update layer to 115. Support temporary read access to chat by invite link.
GitOrigin-RevId: 56bcbbde0bb6cb113db8e3c8554b7e1fd7622b23
|
2020-06-23 09:31:25 +03:00 |
|
levlam
|
75ba29bffe
|
Add source to get_channel_full_force.
GitOrigin-RevId: 0a7a17f21e906322f572fac0409fd49827702884
|
2020-05-01 14:18:40 +03:00 |
|
levlam
|
8bbc32e21c
|
Drop UserFull cache when phone number privacy is changed.
GitOrigin-RevId: 4ff14b72fa4b903c9358a1a10023e7b5f3775ff8
|
2020-05-01 01:21:02 +03:00 |
|
levlam
|
23ad80e3a9
|
Silence warning about changed dialog order if dialog info was received from serverr.
GitOrigin-RevId: b6211153533746180307542d3e19fcd10aac63d2
|
2020-04-29 22:28:57 +03:00 |
|
levlam
|
fef67252d1
|
Reload ChannelFull before getting channel statistics if needed.
GitOrigin-RevId: 0730f4a8411bf2e5e2841bc95f1960b6619742c6
|
2020-04-07 23:11:44 +03:00 |
|
levlam
|
1d8004d279
|
Add force to get_user_full.
GitOrigin-RevId: 182ab8a99142a12c51662ee0928480f6a3e03f91
|
2020-04-07 03:23:53 +03:00 |
|
levlam
|
1cb2141fee
|
Add force to get_channel_full.
GitOrigin-RevId: 76bc8e90bc5aba1443739199800074bf52e7d8d3
|
2020-04-02 04:33:04 +03:00 |
|
levlam
|
3b2c06e520
|
Improve chat statistics.
GitOrigin-RevId: a55d3a62bbeded1000f58a348c1ab7225b85d39a
|
2020-04-03 03:53:33 +03:00 |
|
Fela Ameghino
|
81babdf915
|
Implemented chat statistics (#981)
|
2020-04-02 16:06:05 +03:00 |
|
levlam
|
f5ede0b528
|
Add debug warning in drop_user_photos.
GitOrigin-RevId: d886262d3d8fdff8cbb476a5e1b19e78f485b229
|
2020-03-31 02:50:50 +03:00 |
|
levlam
|
e8e546a721
|
Fix retries in getBasicGroupFullInfo.
GitOrigin-RevId: acd566f171998c130f0e3a0544b11e6430148f07
|
2020-03-30 22:20:34 +03:00 |
|
levlam
|
ce4b2a5082
|
Add td_api::setCommands.
GitOrigin-RevId: 13284b798b074402096a1c6d8fd149d67ded0df1
|
2020-03-28 01:43:52 +03:00 |
|
levlam
|
3d07b45a21
|
Update layer to 111.
GitOrigin-RevId: 47862200a12f3b5b9e5058192d5e9a9cdca862aa
|
2020-03-14 01:56:47 +03:00 |
|
levlam
|
3aa55a2e89
|
Add setLocation method.
GitOrigin-RevId: 43fef89f4d2175cf9ec5a20409979c988e781a28
|
2020-02-14 16:17:45 +03:00 |
|
levlam
|
3153e72d2f
|
Add is_location_visible writable option.
GitOrigin-RevId: 1960a28d395c28a381be2bfd4ee739c473f0ea43
|
2020-02-14 15:44:56 +03:00 |
|
levlam
|
30eaa49ffd
|
Update layer to 110. Add textEntityTypeBankCardNumber.
GitOrigin-RevId: 2d525fb0b6639f6b803d381a97f47bd91a12e23e
|
2020-02-13 18:07:40 +03:00 |
|
levlam
|
9964c011ec
|
Allow report private chats with users sharing their location.
GitOrigin-RevId: f1b546ea71a534436e487d4a644b4001bd274e09
|
2020-02-12 03:05:54 +03:00 |
|
levlam
|
ab8752cd20
|
Fix assigning of min_access_hash and phone number of min-users.
GitOrigin-RevId: 88662f9efba97d7679af7950782a98afc75470e9
|
2020-01-23 02:56:08 +03:00 |
|
levlam
|
f2211527db
|
Add support for recent poll voters.
GitOrigin-RevId: f4260d87ae4a22d56b2024c07713ceeb37203895
|
2020-01-12 04:40:17 +03:00 |
|
levlam
|
5b26485ede
|
Fix SplitSource build.
GitOrigin-RevId: 09aa9993fa30af502cae2cd0a5efe77444112b3c
|
2020-01-04 14:59:33 +03:00 |
|
levlam
|
80c35676a2
|
Update copyright year.
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
|
2020-01-01 04:23:48 +03:00 |
|
levlam
|
b85302f928
|
Add direct cache for linked channels.
GitOrigin-RevId: 1d994bd0aef96c379312a4be776b7a107cd175da
|
2019-12-23 18:37:11 +03:00 |
|
levlam
|
c093afbf68
|
Add source to get_channel_full.
GitOrigin-RevId: 4df2ac6b75f92359bf838226f707742764e92209
|
2019-12-20 17:17:06 +03:00 |
|
levlam
|
cefc10e0ba
|
Send updates when ignored_restriction_reasons changes.
GitOrigin-RevId: 8c30b41dfb3a34c9eca3d8a7be4622ee172593de
|
2019-12-20 16:11:58 +03:00 |
|
levlam
|
369345f47c
|
Add ContactsManager::for_each_secret_chat_with_user.
GitOrigin-RevId: bf81c627a6d4cf00ff5b6c8882079cce23d636f3
|
2019-12-19 00:31:01 +03:00 |
|
levlam
|
0594b9e795
|
Do not send chat actions to bots, deleted users and users with hidden online status.
GitOrigin-RevId: 8bd7c272b34ae6d977e58e89f0e76a158f02f150
|
2019-12-18 18:57:21 +03:00 |
|
levlam
|
9f60d0bae1
|
Support QR code authentication.
GitOrigin-RevId: 140381ee80339b5ac2e15f149ad3a37688200e88
|
2019-12-17 19:17:57 +03:00 |
|
levlam
|
3ec96b4c30
|
Remove channels from inactive channels list on new message or after leave.
GitOrigin-RevId: 8c9723ed489a714df0b70abe465c04eba1265b0e
|
2019-12-13 17:57:00 +03:00 |
|
levlam
|
71ddd7c7e3
|
Add getInactiveSupergroupChats method.
GitOrigin-RevId: 45b15965e50ab5d153a0de4e575fab6ac22eed11
|
2019-12-13 17:27:44 +03:00 |
|
levlam
|
5b1d363918
|
Add Chat.has_scheduled_messages flag.
GitOrigin-RevId: 6d7f211647c738d5912476232e8842c245d1f884
|
2019-11-25 19:11:24 +03:00 |
|
levlam
|
e4eb01ad17
|
Automatically parse restriction reasons. Add option "ignore_platform_restrictions".
GitOrigin-RevId: 58de3f0dffb97b3d5c73aa3764aa5d48da1b709d
|
2019-11-24 01:37:46 +03:00 |
|
levlam
|
97cdacff7b
|
Update slow_mode_next_send_date when a message is sent.
GitOrigin-RevId: d373e4685a4c6b717272844b50da8fb3139b2f64
|
2019-11-21 02:41:53 +03:00 |
|
levlam
|
2415d28b4e
|
Send update after slow mode delay expires.
GitOrigin-RevId: 90b18c2a75f1e39ac967ebc3bbce84145769b2d8
|
2019-11-21 00:40:34 +03:00 |
|
levlam
|
fb90abcccc
|
Add slow_mode_delay_expires_in.
GitOrigin-RevId: 118cd722f73982fc86823b28358f7111848d3b1a
|
2019-11-20 21:25:00 +03:00 |
|
levlam
|
9d4512d2bd
|
Drop slow mode delay after is_slow_mode_enabled was changed to false.
GitOrigin-RevId: 63a492c8203eee4b99d2c3db4e6e9c63ba77fe73
|
2019-11-15 19:27:12 +03:00 |
|
levlam
|
119225ccef
|
Add supergroupFullInfo.slow_mode_delay.
GitOrigin-RevId: 361741fc9f2e6a89be4b0a74749df5c035533d67
|
2019-11-15 16:48:01 +03:00 |
|
levlam
|
e12f7ac3e0
|
Add td_api::supergroup::is_slow_mode_enabled.
GitOrigin-RevId: cdbf1140507fe85dcb54cfc8831436d46762f27d
|
2019-11-15 15:46:12 +03:00 |
|
levlam
|
0c3e15026f
|
Reget ChannelFull if it was changed between request was sent and the result was received.
GitOrigin-RevId: d05439fc5735b156cd4be9ac6547fcce18aa5150
|
2019-11-11 22:07:12 +03:00 |
|
levlam
|
43d8e6ccdb
|
Return administrator ranks from getChatAdministrators.
GitOrigin-RevId: 8e3e540ae73aebacf9a3fe954b2b81511c999953
|
2019-11-11 19:14:32 +03:00 |
|
levlam
|
0e874a5247
|
Add td_api::checkCreatedPublicChatsLimit.
GitOrigin-RevId: 9364cd09348ece39d56cbc8882fa8bfef36df18c
|
2019-10-22 14:06:46 +03:00 |
|
levlam
|
892a091998
|
Add support for location-based supergroups in getCreatedPublicChats.
GitOrigin-RevId: b328d62a998dc2e2b83d9721e001f9feee129d4e
|
2019-10-22 13:40:24 +03:00 |
|
levlam
|
86925625fd
|
Rename need_send_update to is_changed.
GitOrigin-RevId: a40a5c0385d623e0023d5f6ed18c91d8605b5493
|
2019-10-22 00:29:24 +03:00 |
|
levlam
|
698c1d2160
|
Rename is_changed to need_save_to_database.
GitOrigin-RevId: dbf8292104a6e51dcc351bef94f6e220c1442265
|
2019-10-22 00:06:24 +03:00 |
|
levlam
|
de0e0d8173
|
Unify *Full.is_changed usage.
GitOrigin-RevId: 222ac98bc06fa5652add8e5d43c7861906209136
|
2019-10-21 23:47:58 +03:00 |
|
levlam
|
bc8f0dcb87
|
Store bot_user_ids in ChannelFull.
GitOrigin-RevId: 46b118c7a1e976bffc28fec5a7c2eb369317ee36
|
2019-10-21 23:39:46 +03:00 |
|
levlam
|
014248ac2b
|
Remove UserFull.is_inited.
GitOrigin-RevId: 6c457ef1ba507c4edeb1ee7b81ffdba5ab35426a
|
2019-10-21 22:00:03 +03:00 |
|
levlam
|
035625d726
|
Save BotInfo in database and store in memory independently of UserFull.
GitOrigin-RevId: f12a7f6da707482a7e5c6e06016b0ccc3b45d2b5
|
2019-10-21 21:54:04 +03:00 |
|
levlam
|
9c2e44d7a5
|
Move is_bot_info_expired out of UserFull.
GitOrigin-RevId: 3fbb796097fba3654ad1f32ea01397aa12efb8be
|
2019-10-21 18:54:02 +03:00 |
|
levlam
|
5e8a79e984
|
Make User/Chat/Channel/SecretChat and *Full safe to use.
GitOrigin-RevId: 31b9cf38e37f409634be89214761ee76e2228d59
|
2019-10-21 17:03:23 +03:00 |
|
levlam
|
cc0a2eeb99
|
Better names for UserPhotos fields.
GitOrigin-RevId: 5f4b1c5d32e68ac02210cd21f2dc7b08415fb4fa
|
2019-10-17 23:41:16 +03:00 |
|
levlam
|
39a87fcb10
|
Move user photos out of UserFull.
GitOrigin-RevId: f70e021e5bad07eff95af4eb9ddc0c7c12779f91
|
2019-10-17 23:31:00 +03:00 |
|
levlam
|
4e436cdf17
|
Add drop_user_photos method.
GitOrigin-RevId: 57ff5576d56f1e190e62a3debe8b10b2de987338
|
2019-10-17 22:49:03 +03:00 |
|
levlam
|
08d6b880e0
|
Send updateUsersNearby only if users_nearby_ really has changed.
GitOrigin-RevId: cfa8800259ba03c0cfcad357ed4afe6a0bf5bb27
|
2019-10-17 21:35:32 +03:00 |
|
levlam
|
de069fef3f
|
Add td_api::canTransferOwnership.
GitOrigin-RevId: 78eb21497c145c91b5da94e52eea5cff805f4b86
|
2019-10-17 19:43:41 +03:00 |
|
levlam
|
8206c05952
|
Add td_api::transferChatOwnership.
GitOrigin-RevId: ce897af94815412b2e8ff09c727e04b284726b41
|
2019-10-17 17:05:01 +03:00 |
|
levlam
|
47625f39f0
|
Add support for users and groups nearby.
GitOrigin-RevId: 98bde4f064541a0b8d6200092db0f3bc7f192b1f
|
2019-10-16 21:55:16 +03:00 |
|
levlam
|
acf8afd2d6
|
Add td_api::setChatLocation.
GitOrigin-RevId: 1bf8060374189bd2c9435b9c57ed499723de7246
|
2019-10-14 19:07:31 +03:00 |
|
levlam
|
41662e7048
|
Add location and can_set_location to supergroupFullInfo.
GitOrigin-RevId: 76550d71096e32cfd282f2e42a2a70176b2f5421
|
2019-10-13 21:41:09 +03:00 |
|
levlam
|
af527d0c9e
|
Support supergroups with location.
GitOrigin-RevId: 976b72eaf8d5fd2226b6d548ed8bca167b385264
|
2019-10-13 20:58:32 +03:00 |
|
levlam
|
438300b2cf
|
Return previous is_blocked value, when block/unblock request fails.
GitOrigin-RevId: e8132bcd987c8abe75fe4e01fb199f4dada74259
|
2019-10-11 18:55:14 +03:00 |
|
levlam
|
d2047ff6d1
|
Add reload_user_full and use it to repair action bar.
GitOrigin-RevId: b7b4bc20b944caca0c086d9ecbf99756e8330c61
|
2019-10-11 18:39:10 +03:00 |
|
levlam
|
9e8512411c
|
Combine block_user and unblock_user.
GitOrigin-RevId: 50c31ba274a7a5b70efe68ee8d307541e65eb48c
|
2019-10-11 18:31:16 +03:00 |
|
levlam
|
a3126dcce5
|
Add td_api::sharePhoneNumber.
GitOrigin-RevId: 522cee62cab40378802fbb5352f9d06ee2709a03
|
2019-10-11 17:59:04 +03:00 |
|
levlam
|
83d0d18a5e
|
Delete unused default_can_report_spam_in_secret_chat.
GitOrigin-RevId: 9b7f2f5f0185600c00756f2f2f4543496d5feca7
|
2019-10-11 04:37:40 +03:00 |
|
levlam
|
62db4169a2
|
Update action bar when user is deleted.
GitOrigin-RevId: 1c31884369b944f79b2772e0142ce95a08ebafc1
|
2019-10-11 03:11:22 +03:00 |
|
levlam
|
24ecd9564e
|
Hide action bar when the user is blocked.
GitOrigin-RevId: 2c317e3612555f496da0b6f2f55f1de60f62cd57
|
2019-10-11 00:46:05 +03:00 |
|
levlam
|
91bdd50884
|
Add need_phone_number_privacy_exception.
GitOrigin-RevId: b1d6237900577a50dcc105d72962cebe62ee70ca
|
2019-10-11 00:18:34 +03:00 |
|
levlam
|
1b147a8142
|
Add Chat.action_bar.
GitOrigin-RevId: 4429f6d77af0686dd2c890423a4667a5251f0bff
|
2019-10-10 23:19:26 +03:00 |
|
levlam
|
783620b9b7
|
Add td_api::addContact.
GitOrigin-RevId: 6b80aad27805780043a5ca4e7680bbfea65ddaad
|
2019-10-08 18:12:15 +03:00 |
|
levlam
|
99f4abb249
|
Update to layer 102. Replace LinkState with is_contact/is_mutual_contact.
GitOrigin-RevId: 33061b18ac72711f4df168fb27497bccb36d3367
|
2019-10-07 22:51:03 +03:00 |
|
levlam
|
4007386372
|
Add ChatFull.can_set_username.
GitOrigin-RevId: 1ccb89aaf6df6d9f70167ba1ff42eeef17a2d4cc
|
2019-09-19 06:27:05 +03:00 |
|
levlam
|
94908d20a1
|
Add UserFull.can_pin_messages.
GitOrigin-RevId: 11376497b904a9a8f36ef7cab66fd7aeac83ce7d
|
2019-09-19 05:43:18 +03:00 |
|
levlam
|
7619eaa0f0
|
Add get_user_full_force.
GitOrigin-RevId: 3486e0097a343b996a943555acfcba5afdbc61a9
|
2019-09-19 04:21:40 +03:00 |
|
levlam
|
f934ccbd50
|
Add get_chat_full_force.
GitOrigin-RevId: 7c33e468065589cc79a6c693afb8a9aae0ec9697
|
2019-09-19 03:58:54 +03:00 |
|
levlam
|
80e3841ec4
|
Add get_channel_full_force.
GitOrigin-RevId: cc2d1de9fa7859b1cead9562ce1be1ff9113788a
|
2019-09-19 03:07:44 +03:00 |
|
levlam
|
408a456589
|
Add strongly typed StickerSetId.
GitOrigin-RevId: 518121f89e3a4c95ab5a2095a9bc2217090911de
|
2019-09-18 06:55:43 +03:00 |
|
levlam
|
ae574ceebc
|
Better function names.
GitOrigin-RevId: 7f263a23e4fbc2da9715605599fbb06a3049b9ea
|
2019-09-18 02:21:29 +03:00 |
|
levlam
|
3377c38073
|
Store *Full to database.
GitOrigin-RevId: 160369861878befa880e2b4355fd6585977f84dc
|
2019-09-18 02:14:24 +03:00 |
|
levlam
|
9e51fcdb3f
|
Add source to send_get_*_full_query.
GitOrigin-RevId: 5fdb3cc98f901ddfdcb562ba2c452fc5e2ed13cc
|
2019-09-15 05:06:11 +03:00 |
|
levlam
|
74219aa2d3
|
Add td_api::setChatDiscussionGroup.
GitOrigin-RevId: 59c2ec4a0b81973f4672ed2f3ca2a3fd01f36279
|
2019-09-14 05:35:56 +03:00 |
|
levlam
|
1021269634
|
Automatically update list of suitable discussion chats.
GitOrigin-RevId: e1ef89b9c0dcf76bf63f508c9806d5764e2b972e
|
2019-09-13 20:58:09 +03:00 |
|
levlam
|
3846d56680
|
Add td_api::getSuitableDiscussionChats.
GitOrigin-RevId: 7ba20b857f9d34db4670af12907fe17053047515
|
2019-09-13 20:25:17 +03:00 |
|
levlam
|
9bf6b2c78a
|
Allow read access to linked channels.
GitOrigin-RevId: 24003a60c80a8e61354ba647fb616e92f88c6e48
|
2019-09-13 05:40:02 +03:00 |
|
levlam
|
867c0f615b
|
Add linked_chat_id support.
GitOrigin-RevId: 220feb41f7557dafc02bf0f04f43b8b15d50e2d9
|
2019-09-13 04:11:21 +03:00 |
|
levlam
|
936a84c025
|
Update to layer 99. Add support for ChatListType.
GitOrigin-RevId: fdd5de60e479fa9a72975bee8e3cb911f390ec01
|
2019-08-19 04:51:03 +03:00 |
|
levlam
|
9fa88eb0ec
|
Remove user/channel debug_source.
GitOrigin-RevId: a9d8fc3841d04e448ee6ef9a34b084d1d302257c
|
2019-10-18 01:17:46 +03:00 |
|
levlam
|
5104759c6a
|
Update private chat permissions when user is received.
GitOrigin-RevId: 3fa3df0aa915130eec167607905b76006dd0b706
|
2019-09-02 20:32:51 +03:00 |
|
levlam
|
cea15d975a
|
Use send_closure_later in on_user_online_timeout_callback to avoid accidental access to MultiTimoeut.
GitOrigin-RevId: b488a006dcbe17d661e18a6e578c08cd070b84ea
|
2019-08-29 02:17:52 +03:00 |
|
levlam
|
2fd851dfe2
|
Repair sticker set thumbnail if changed.
GitOrigin-RevId: 1b0e2e997338d85249e6eee877ab0483d9826342
|
2019-07-30 18:43:29 +03:00 |
|
Arseny Smirnov
|
089d73953c
|
FileManager: reload photo on FILE_ID_INVALID
GitOrigin-RevId: defb6736befa35189253f8ac70342be81a607918
|
2019-07-30 17:42:36 +03:00 |
|
levlam
|
a7005ee358
|
Add reload_user.
GitOrigin-RevId: f13879bb21e7978f009f5eb8e0f768c089a1061e
|
2019-07-30 15:10:02 +03:00 |
|
levlam
|
912ab17351
|
Add cache revalidation for users, chats and channels.
GitOrigin-RevId: 3377a27326ab76d13c89fbe2eb5ef88ce6564e0b
|
2019-07-26 00:05:16 +03:00 |
|
levlam
|
666e668163
|
Add support for is_scam mark for users and channels.
GitOrigin-RevId: f34b2ed15d3cb01f3a3da51673e8aa0ac98ad874
|
2019-06-18 16:41:53 +03:00 |
|
levlam
|
4a8411329f
|
Add source to ContactsManager::do_update_user_photo.
GitOrigin-RevId: 086ca18898448cbcd44977965a0f8f0ddc799ead
|
2019-06-17 03:39:00 +03:00 |
|
levlam
|
bd13368fa8
|
Fix chat invite link photo.
GitOrigin-RevId: bf4fa46201598412804880dd3c19d800c93acd5e
|
2019-06-17 02:00:54 +03:00 |
|
levlam
|
8117f0fb39
|
Support min_access_hash.
GitOrigin-RevId: b2de0f02f75683a08961cdb1c0ceb719574a9e67
|
2019-06-17 01:35:12 +03:00 |
|
levlam
|
30e96aa8c8
|
Improve applying chat full participants.
GitOrigin-RevId: 4280f3daa15b4120e81eb3891adced8ff5f97c1c
|
2019-06-13 00:21:30 +03:00 |
|
levlam
|
b4b9778947
|
Add td_api::chatMembersFilterContacts.
GitOrigin-RevId: 2f8f18da88a0de2c5df5bd1d0207d424b6b4e89b
|
2019-05-12 21:49:21 +03:00 |
|
levlam
|
b641382eab
|
Support pinned_message version in basic groups.
GitOrigin-RevId: 75a011aa0ad138f9bf165870603c1be82038bbc8
|
2019-05-12 21:19:03 +03:00 |
|
levlam
|
441d224878
|
Skip non-contacts when searcing contacts on channels.
GitOrigin-RevId: 9db95ac20b76e3f274eb7dbc758e00f3b84d2cd4
|
2019-05-04 03:15:49 +03:00 |
|
levlam
|
eed517a2e7
|
Fix bot permissions.
GitOrigin-RevId: 86929755cff1673c3404beeff2a6bfbfcb2e2365
|
2019-03-22 18:32:06 +03:00 |
|
levlam
|
5e69f957f3
|
Add get_cha{t,nnel}_permissions.
GitOrigin-RevId: 7d00023ed7497f89cc3895c9a1d4f267f7332922
|
2019-03-22 15:23:44 +03:00 |
|
levlam
|
e71b749a79
|
Add updateChatDefaultBannedRights support.
GitOrigin-RevId: 1e938066789b61f5f14003c268a62965fcc31a30
|
2019-03-20 16:32:27 +03:00 |
|
levlam
|
454d8d3987
|
Add td_api::chatPermissions support.
GitOrigin-RevId: 38cc232035e54665e140772b13316c31ecc38df6
|
2019-03-20 15:28:06 +03:00 |
|
levlam
|
ada302aaf2
|
Support default restricted rights in channels.
GitOrigin-RevId: 71ca596fcaaa31217bd1e8431d3e6202ebcd43f0
|
2019-03-19 18:55:10 +03:00 |
|
levlam
|
e6d968963b
|
Support new rights in chats.
GitOrigin-RevId: 0cfc8de697a1eed2a323907c36b36b6b634e42b6
|
2019-03-19 18:13:16 +03:00 |
|
levlam
|
ed3e4b7d67
|
Add basic group description support.
GitOrigin-RevId: 030f1a2c149fd085f90a4153e7c76a6adb14e00c
|
2019-03-18 05:24:25 +03:00 |
|
levlam
|
3ecf990ad6
|
Update layer to 95.
GitOrigin-RevId: 0d6b470b6ca6f72b5b87fbd899aaeae8892f8834
|
2019-03-15 16:52:55 +03:00 |
|
levlam
|
078417d423
|
Add mtpeer.access_hash parsing in push notifications.
GitOrigin-RevId: bba57f1a73627383a2e363c821475cdc6a3dcaad
|
2019-04-04 21:50:26 +03:00 |
|
levlam
|
606b427673
|
Invalidate cache of getGroupsInCommon when count is changed or in 1 hour.
GitOrigin-RevId: e57edb01d3fe3a21e208e8247ca666284a755bcb
|
2019-04-01 22:38:17 +03:00 |
|
levlam
|
54aaea0e13
|
Fix constant type.
GitOrigin-RevId: 43068e874c4b0639657716acc20a4b444c2c4e73
|
2019-03-25 20:40:28 +03:00 |
|
levlam
|
27f6634c50
|
Fix total_count when receive full member list.
GitOrigin-RevId: 65d757a8489d5f5207e43d267b7177cc97c95950
|
2019-03-25 19:18:04 +03:00 |
|
levlam
|
f9a0b34cb2
|
Disallow to report support accounts.
GitOrigin-RevId: 40657f51e7b4ca90e930b406d4903e132865babd
|
2019-03-17 18:09:28 +03:00 |
|
levlam
|
3e0fb81e09
|
Bring users online locally after typing or sending/editing a message.
GitOrigin-RevId: 2bc4e0c29083f1dca6277498118f1dd6932ccda3
|
2019-03-15 02:29:36 +03:00 |
|
levlam
|
f0d6892453
|
Add get_user_was_online method.
GitOrigin-RevId: 64e6acd5295b4679f0badb33c419c727a4a2c57c
|
2019-03-15 00:57:09 +03:00 |
|
levlam
|
e77a6d8397
|
Repair online member count in small supergroups by getting they member list.
GitOrigin-RevId: bf52347560b19668c302767498b63b55800f3779
|
2019-03-12 22:05:33 +03:00 |
|
levlam
|
9ff02e7435
|
Speculatively change cached supergroup member list.
GitOrigin-RevId: 7d908f39f10b8480310960c54ec2610febd0b018
|
2019-03-12 17:52:10 +03:00 |
|
levlam
|
a893653ba6
|
Pass list of members in speculative_*channel_participant.
GitOrigin-RevId: 765ef5abbb2a2c139810dda32aa1e2c1fe5e4009
|
2019-03-12 16:20:53 +03:00 |
|
levlam
|
e406d6ea41
|
Update dialog online member count when receive member list.
GitOrigin-RevId: e1178f3c5dabc183c80099d0e98e0c0d3cf56762
|
2019-03-12 14:52:37 +03:00 |
|
levlam
|
457650ed74
|
Add update_dialog_online_member_count method.
GitOrigin-RevId: 5195f98ab61692355fce12e5ac804cdb2ff66d1a
|
2019-03-12 03:46:44 +03:00 |
|
levlam
|
0a04a466ef
|
Send updateChatOnlineMember count when a member goes online or offline.
GitOrigin-RevId: e58d65fb71ce4b2a407101e2a494da05106b0b9f
|
2019-03-05 15:49:10 +03:00 |
|
levlam
|
d038c6b5c4
|
Update Chat online member count on any participants change.
GitOrigin-RevId: 6049a003d73e86d2bb30b9364a07aa3050be3a7f
|
2019-03-05 05:18:31 +03:00 |
|
levlam
|
f1419395df
|
Add user.is_support flag.
GitOrigin-RevId: 6c1774d309eefdb20e75e2b01e07a4738efcde81
|
2019-03-01 05:35:01 +03:00 |
|
levlam
|
bb5ffc0c8c
|
Channel statistics support.
GitOrigin-RevId: 39d17de81087c9789b6c717cf1ed5f01edc6360b
|
2019-02-26 23:37:59 +03:00 |
|
levlam
|
f1519230c9
|
Update member online count from time to time.
GitOrigin-RevId: 8b9e0f4d922a17c0f14755289a25e91b1ab4c6fc
|
2019-02-26 18:24:46 +03:00 |
|
levlam
|
8795d002de
|
Add updateChatOnlineMemberCount.
GitOrigin-RevId: 3c4a21b924acc4c5ff9af66a4d8c9d13b6effd26
|
2019-02-26 03:24:33 +03:00 |
|
levlam
|
e9ba66858d
|
Delay non-awaited combined queries.
GitOrigin-RevId: c6f444bf0b78892afd60ab0015f51afde1fc70c3
|
2019-02-25 20:44:28 +03:00 |
|
levlam
|
2c2866b5fc
|
Add simple QueryCombiner.
GitOrigin-RevId: b863a06adff6ed010424ca42be338c410a487ccb
|
2019-02-25 06:08:18 +03:00 |
|
levlam
|
e22d3b7c28
|
Return result through Promise from GetFull*Query.
GitOrigin-RevId: 40849a7f4a1febaa35c36b811717b48932da2bff
|
2019-02-25 04:16:41 +03:00 |
|
levlam
|
6787973944
|
Simpilfy handling of *Full results.
GitOrigin-RevId: c084e4c389d559b31e74fafc1d4a8cd05983700a
|
2019-02-25 03:41:19 +03:00 |
|
levlam
|
591576e6a4
|
Support pinned messages in private and basic group chats.
GitOrigin-RevId: b08ba37a6b27f871e394b5e4ac1864766f046134
|
2019-02-01 15:19:32 +03:00 |
|
levlam
|
7542612098
|
Fix some includes.
GitOrigin-RevId: 47d6bcd57e12314cc46c8f23ef10c10cea04fdcb
|
2019-01-31 05:05:40 +03:00 |
|
levlam
|
996869d4ca
|
Implement store/parse FileSourceId.
GitOrigin-RevId: ff0d80bf2a8d479dae0cdca2c806a9731ff499d9
|
2019-01-31 00:37:38 +03:00 |
|
levlam
|
595eb119d7
|
Repair file_reference in UpdateProfilePhoto.
GitOrigin-RevId: 1edb98b56d2af603ac51d7ba6ee9e6cd08e12595
|
2019-01-29 02:32:26 +03:00 |
|
levlam
|
62a01e2b61
|
Add profile photo file source.
GitOrigin-RevId: 7324c1a4927e135c84a6406b606684297f2447ff
|
2019-01-22 18:07:21 +03:00 |
|
levlam
|
937db792cb
|
Create file sources for channel and chat photos.
GitOrigin-RevId: c3660edd78b7ad07aaa7e6c5e238c2e2e30f2b11
|
2019-01-20 06:34:47 +03:00 |
|
levlam
|
6f813b25ac
|
Add reload_chat/reload_channel methods.
GitOrigin-RevId: 82f650328672dcde337f692d986a338e48711d91
|
2019-01-15 01:38:17 +03:00 |
|
levlam
|
303a006fb3
|
Add reload_user_profile_photo method.
GitOrigin-RevId: cc0e9d51b98adcb359310a239e707a7ef5e0523a
|
2019-01-14 23:04:53 +03:00 |
|