levlam
38fe050dba
Update layer 120. New live location approaching API.
...
GitOrigin-RevId: 98e984a3c84deee3552eb01b53963a6a998c7eda
2020-10-25 00:49:41 +03:00
levlam
881aa63014
Keep reply info only on last forwarded and first album messages.
...
GitOrigin-RevId: 0011332382abccd84122f88bcb2ae04ee793dd2b
2020-10-24 14:52:18 +03:00
levlam
a27bf08319
Allow to block users using td_api::messageSenderChat.
...
GitOrigin-RevId: 71be9510975f0dd8354c2cffa829d707f80ee4d3
2020-10-24 02:18:11 +03:00
levlam
978863810c
Use MessageId as map key.
...
GitOrigin-RevId: 795c123e953dbdae3c03b828b458910fe221ce90
2020-10-24 02:00:37 +03:00
levlam
0846e7aec5
Don't use iterators after a promise is set.
...
GitOrigin-RevId: eba7487d7025410ae4a2230d4ce09cfa02012fdf
2020-10-24 01:45:04 +03:00
levlam
7c5175b78a
Improve error message.
...
GitOrigin-RevId: dfa935cc2c2f65d61a969c8a455a47145f97b8fb
2020-10-23 15:25:46 +03:00
levlam
c768cd202a
Improve deletion of newer messages in on_get_channel_dialog.
...
GitOrigin-RevId: 98a348ba63440d8e61c1199a68298cfa66b2a863
2020-10-23 14:50:05 +03:00
levlam
3eee4654f7
Add message to td_api::chatEventMessageUnpinned.
...
GitOrigin-RevId: f7c90fa7d782eb57288de582094688252f230b43
2020-10-23 14:04:00 +03:00
levlam
bf945e05be
Remove promise from map before setting it.
...
GitOrigin-RevId: d721cab5311096631748e632cf8756edaef9d7e1
2020-10-23 12:54:08 +03:00
levlam
1049ae0630
Disallow pinning service messages.
...
GitOrigin-RevId: 18c23b8dbfe97e60e27fc605a145e11356231c38
2020-10-23 02:25:35 +03:00
levlam
65246318bb
Allow to pin chat messages only for self in private chats.
...
GitOrigin-RevId: 57f71b2728a47469ff8f2a53478300dd3c96f658
2020-10-23 02:12:32 +03:00
levlam
793e8409de
Add td_api::unpinAllChatMessages.
...
GitOrigin-RevId: ad5aa1cf7ea0f1ee770900f5f58409436029b9a7
2020-10-23 01:56:06 +03:00
levlam
f5c4b93a37
Use generic find_messages.
...
GitOrigin-RevId: ac5bb9be8a6597cbdafa3762e6d6cbf5f1720edc
2020-10-22 16:08:54 +03:00
levlam
4718e640ee
Add generic MessagesManager::find_messages.
...
GitOrigin-RevId: 21c6f0145376ef4a779703b8cf516a420418cb39
2020-10-22 15:59:59 +03:00
levlam
f9009cbc01
Improve checks in MessagesManager::is_anonymous_administrator.
...
GitOrigin-RevId: 332c324e1c067cc2ed394fedce16b590188e3ae7
2020-10-22 02:40:58 +03:00
Andrea Cavalli
184510fc66
Fix remaining compilation errors
2020-10-21 22:23:31 +02:00
Andrea Cavalli
40db0efc2d
Fix compilation errors
2020-10-21 22:18:54 +02:00
Andrea Cavalli
adafcf66a3
Convert hard null checks to soft null checks
2020-10-21 22:17:26 +02:00
levlam
0256a95f49
Fix GetChannelDifferenceLogEvent handling.
...
GitOrigin-RevId: facbb318cbba1c9ac6908db86ec5fba123c88d7b
2020-10-21 16:54:32 +03:00
levlam
313eeeedcc
Return back updating of last pinned message ID on new pinned message.
...
GitOrigin-RevId: 03dfeb882c56815a4c5e66af1280df232f2071f6
2020-10-21 14:56:05 +03:00
levlam
35045bf18e
Fix get_dialog_pinned_message.
...
GitOrigin-RevId: 19c58053e7d0d28729f6f7ca341b788df02a091d
2020-10-21 02:23:29 +03:00
Andrea Cavalli
17230da76a
Merge commit 'cecdae448e88603c98d7d079855c992be6df739f'
2020-10-20 23:20:56 +02:00
Andrea Cavalli
76dbe45ad8
Memory cleanup for caching
...
Remove cached deleted messages from dialogs
Comment out unused variables
2020-10-20 23:16:24 +02:00
levlam
d17531e0e3
Ensure that private message push notifications don't contain mention.
...
GitOrigin-RevId: 87d85e63b70fdc5c9fe91d22d7cf9b7ba59f0895
2020-10-20 21:24:26 +03:00
levlam
4f7791121f
Update pinned message count when message.is_pinned changed.
...
GitOrigin-RevId: 924aa4f4fdd009d2eb8b6603e10d19566d346444
2020-10-20 20:44:46 +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
39fdab7b56
Remove chat.pinned_message_id field.
...
GitOrigin-RevId: 2a22d0eff8258e33aa7efd7b6f1daccdbcba95f9
2020-10-20 20:22:34 +03:00
levlam
31fbeaa2d0
Fix some pinned_message_id usages.
...
GitOrigin-RevId: 6c1952922e39214504705e6c4fb04474aba68c46
2020-10-20 19:58:59 +03:00
levlam
a9b7366296
Synchronize chat.pinned_message_id with message.is_pinned changes.
...
GitOrigin-RevId: 7d5debbdd6d44af3209c75745f49ad4a67b7a523
2020-10-20 19:07:11 +03:00
levlam
14f5df397d
Support unpinning chat messages.
...
GitOrigin-RevId: 5cc4f2f5642114fd31c8a2ae71c8fda501dc73f7
2020-10-20 15:48:13 +03:00
levlam
01447bb3f3
Process Message.is_pinned updates.
...
GitOrigin-RevId: 5dd3c0545a295c9faf408a3dbf8fb2767e290e34
2020-10-20 15:08:36 +03:00
levlam
44b9ce89b8
Update layer to 120.
...
GitOrigin-RevId: 6318c68a9df151edc3c198473aeaf895d89fc594
2020-10-20 02:48:19 +03:00
levlam
f2f214f46b
Add searchMessagesFilterPinned.
...
GitOrigin-RevId: 322b7b59d91b0de47ac3bbc3734b1f81130fd152
2020-10-20 02:41:24 +03:00
levlam
ef09c6c5a9
Add message.is_pinned flag.
...
GitOrigin-RevId: 0449aaa0d12f29d722fbfcf4bad6d85f2212d819
2020-10-20 02:08:56 +03:00
levlam
9b8fc4b026
Add backward compatibility users for bots for all MessageSender objects.
...
GitOrigin-RevId: d91537e8d0fbf99d42b5dd05a34d923dd4e1597a
2020-10-19 22:15:40 +03:00
levlam
06bb6b4b11
Ignore anonymous status for bots.
...
GitOrigin-RevId: c3b5316fcb2a538655c4a2eeb09ef5df08794212
2020-10-19 21:43:44 +03:00
levlam
de1e5e0bd4
Add new message content type MessageLiveLocationApproached.
...
GitOrigin-RevId: 6bf5ac6b3320d0b6da9c27bf5258105ccd958396
2020-10-19 20:44:09 +03:00
levlam
91cf083c94
Add add_message_sender_dependencies function.
...
GitOrigin-RevId: 70f6ac49b7769d707079956df858e98409704a90
2020-10-19 19:17:56 +03:00
levlam
9a3653a017
Add {en,dis}ableLiveLocationApproachingNotification methods.
...
GitOrigin-RevId: d1b92e683a4d663c33a09e8eb42a3aa62d134ef0
2020-10-19 18:44:55 +03:00
levlam
827ceb3ee5
Add audio, video and video note without duration to shared media.
...
GitOrigin-RevId: 924a2b8654e1d118b26c6174af3c0ebd327d454f
2020-10-19 14:31:18 +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
27f63e9e2e
Replace getBlockedChats with getBlockedMessageSenders.
...
GitOrigin-RevId: 044f70ab823b8302dddc8b7a128f19514306272a
2020-10-18 02:10:58 +03:00
levlam
0834d6164b
Replace toggleChatIsBlocked with toggleMessageSenderIsBlocked.
...
GitOrigin-RevId: cec3ba4ba139593e8cbf9422711e79b4a736b6f3
2020-10-18 01:54:32 +03:00
levlam
62fbb88969
Rename blockChatFromReplies to blockMessageSenderFromReplies.
...
GitOrigin-RevId: 820cbd60145c339c6cf5a7d319ff540ce03861e2
2020-10-18 01:26:36 +03:00
levlam
2915129cd8
Allow message threads in all chats.
...
GitOrigin-RevId: 36652fbb9fb997fe41fd8bdf7b7172593fcc3629
2020-10-18 00:17:44 +03:00
levlam
30c17d200b
Use MessageSender to represent recent repliers.
...
GitOrigin-RevId: 2078a6b936d2087a1672eb96851494508f28a465
2020-10-18 00:07:39 +03:00
levlam
9fb26c4ea2
Return back UserFull.is_blocked.
...
GitOrigin-RevId: 98bc31a64c4c644fd6bb9e6e895d521b17df5afa
2020-10-17 23:38:07 +03:00
levlam
6e3eda2aa1
Add live location heading support.
...
GitOrigin-RevId: 67a1bdad91e82f6e7509f4df8c7f66a00e44ab83
2020-10-16 23:08:28 +03:00
levlam
d159ab4f52
Support audio-only and document-only albums.
...
GitOrigin-RevId: 96283716a84613e8e9dd1cb9bfb4d69097cefcc7
2020-10-15 18:13:54 +03:00
levlam
af6fe68c00
Allow to pin messages in all private chats.
...
GitOrigin-RevId: b5f55c22a6ec5950f5b88b66726bce918112d57f
2020-10-15 17:21:15 +03:00
levlam
b1ed582737
Allow to specify a chat as a local message sender.
...
GitOrigin-RevId: f1f5251b617a6f17188c7db49450a2eb433ef14c
2020-10-14 21:47:20 +03:00
levlam
b03e0a827e
Remove wrong because of call through send_closure_later CHECK.
...
GitOrigin-RevId: c61586c3dde988c3174f4ce3e05fe0f08d7af468
2020-10-14 19:03:36 +03:00
levlam
a487d20e2d
Fix service message reply_to_message_id.
...
GitOrigin-RevId: b0c430c6c04167b15e4b195d86d584e376f88efe
2020-10-14 17:30:55 +03:00
levlam
b07d9634d6
Allow to pass chat as MessageSender in searchChatMessages.
...
GitOrigin-RevId: 7b39f616b1677c03dab2bbe48311ba188ec9344b
2020-10-14 14:41:04 +03:00
levlam
e32e1c66e7
Add td_api::MessageSender class.
...
GitOrigin-RevId: 082a1e74188bffc590c4a4182793a9d94b60c148
2020-10-13 19:40:22 +03:00
levlam
d968fd0bed
Implement new chat action rules.
...
GitOrigin-RevId: 12214755c86adfee0a7b3ec5f6e39024364cdb99
2020-10-26 15:25:34 +03:00
levlam
a57d9ccbea
Don't add dummy message sender for bots on TDLib's side.
...
GitOrigin-RevId: d1ab4f7ca2739d30b0960f655478404d34d40757
2020-10-13 17:25:25 +03:00
Andrea Cavalli
fc5b0e9d06
Merge commit '6b1f6b829d0d71f5d50662b1ff58b7869c1e1d7f'
...
Conflicts:
td/telegram/Client.cpp
td/telegram/cli.cpp
2020-10-12 16:15:14 +02:00
Andrea Cavalli
0da9b62eda
Merge commit '7207d76a809598d019e17fb04b2edc46789c6e22'
...
Conflicts:
td/telegram/Client.cpp
2020-10-12 16:12:59 +02:00
Andrea Cavalli
f423fc0d81
Merge commit '35a9a93fc9adfbced4d5f59baf0c72a2f807f28a'
...
Conflicts:
td/telegram/Client.cpp
td/telegram/StickersManager.cpp
td/telegram/WebPagesManager.cpp
2020-10-12 16:10:48 +02:00
Andrea Cavalli
ccaec7e042
Merge commit '3fc140b4a260c606e5c6d79ef148d4beeb37048a'
...
Conflicts:
td/telegram/Client.cpp
td/telegram/Client.h
2020-10-12 15:41:34 +02: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
fbeea0b108
Add is_deleted_secret_chat method.
...
GitOrigin-RevId: eae2a7bcdf92587bbd77cf7c42c210b74107d8a4
2020-10-12 10:56:01 +03:00
levlam
fb1307ff60
Check for unneeded chat actions only while trying to send it.
...
GitOrigin-RevId: 7067f21e42ba0d3c3dc797f72341681e32998e6a
2020-10-12 01:48:13 +03:00
levlam
84ea5b06c9
Minor.
...
GitOrigin-RevId: 1e722a9e8ad6ddd894f9fd4e1b05529aa4aa6a15
2020-10-10 22:02:59 +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
35a9a93fc9
Fix std::...::erase return value usages.
...
GitOrigin-RevId: d9729ccd619e3b99554f1e1c2262d8826f0a8571
2020-10-08 23:04:40 +03:00
levlam
54f32ebc80
Add source to resolve_dependencies_force.
...
GitOrigin-RevId: b09c73df688eea5872d65ec56f0ae1cb10717542
2020-10-08 22:54:24 +03:00
levlam
13f7c8a1aa
Add reply_info to messageThreadInfo.
...
GitOrigin-RevId: fd417ea9ed2f95d79ca3346e4fcb52f4bf8882f2
2020-10-08 21:30:21 +03:00
levlam
e5e9eb3838
Add MessageReplyInfo::get_message_reply_info_object.
...
GitOrigin-RevId: 8d46914fd096afca99942bec63f2c6f65f9cbb9e
2020-10-08 21:17:24 +03:00
Andrea Cavalli
459e08c1b4
Merge commit '62d7423bc3f1925eb777e4f5e43de8c48ebf3191'
2020-10-07 00:26:37 +02:00
levlam
77fff9c578
Use GroupAnonymousBot as a fallback sender for bots instead of 777000.
...
GitOrigin-RevId: 30e2ff3c9db2efc05b3bcbfd610ad8d6492ad66e
2020-10-05 00:51:45 +03:00
levlam
c916566e76
Fix MessagesManager::get_chat_object.
...
GitOrigin-RevId: a5dddba5f844b8064fe7083c8532f9d2286b9dba
2020-10-03 21:47:12 +03:00
Andrea Cavalli
6a3a55f244
Merge commit '99163ff431a23938a6060d7c8268a5a1e8571310'
...
Conflicts:
td/telegram/MessagesManager.cpp
2020-10-02 17:34:08 +02:00
Andrea Cavalli
011d5c123a
Rename chat_unload_delay and fix its implementation
2020-10-02 17:32:24 +02:00
levlam
99163ff431
Fix canGetMessageThread.
...
GitOrigin-RevId: 688fd7615bc841284611393f77e8598e7d9cba13
2020-10-02 15:01:11 +03:00
levlam
ce1138ea13
Fix handling of wrong is_outgoing flag.
...
GitOrigin-RevId: 2b5a98ddc37139aaae39615fb5719cd0ed84ed7a
2020-10-02 14:31:41 +03:00
levlam
86e7186bae
Rename "chat_unload_delay" option and fix its implementation.
...
GitOrigin-RevId: a81de53455816c959986cd3924674600d0086adc
2020-10-02 12:42:16 +03:00
Andrea Cavalli
e0b335bc3e
Option "chat_unload_delay" for bots ( #1219 )
...
* Option "chat_unload_delay"
This option allows to override the default chat unload delay. The allowed range is from 60 to 86400 seconds (1 day)
2020-10-02 12:19:43 +03:00
Andrea Cavalli
e8e9dc4abf
Merge commit '7d5b47990b4878f6a2a560d8cf064e28d46672ed'
2020-10-01 23:45:32 +02:00
Andrea Cavalli
96cf4f15a4
Merge commit '711b0cfd4f2aa163858b94e97db25d6be4adcfcb'
...
Conflicts:
td/telegram/MessagesManager.cpp
2020-10-01 23:45:02 +02:00
levlam
7d5b47990b
Do not handle errors of messages.getReplies in channels.
...
GitOrigin-RevId: f80a65a578fa4ced3596acc635fa6759feb8e844
2020-10-01 22:57:24 +03:00
levlam
610443fc22
Send updateMessageInteractionInfo after ReplyInfo change, only if reply info is visible.
...
GitOrigin-RevId: ccafd95ce42cfe318a4a9fb096e0580093decf4c
2020-10-01 22:43:13 +03:00
levlam
ca1594c8ec
Update reply info if linked_channel_id is changed.
...
GitOrigin-RevId: 629721095881d2c9a401519d26f75bbbba4446f9
2020-10-01 22:28:54 +03:00
levlam
711b0cfd4f
Introduce DialogAction class.
...
GitOrigin-RevId: f94011c1b70cdc17115bfbb981c6e000110adfbf
2020-10-01 19:28:10 +03:00
Andrea Cavalli
235e766c5d
Typo
2020-10-01 15:28:16 +02:00
Andrea Cavalli
f6d7221e75
Syntax fix
2020-10-01 15:15:49 +02:00
levlam
c332f26352
Introduce messageReplyInfo.
...
GitOrigin-RevId: 10e757b71fde4e29aa81905bfba5fc4ca5523bbb
2020-10-01 16:12:20 +03:00
Andrea Cavalli
41e5ce21ac
Merge commit '3d2067475e0764d4765b41aa372e5c3c10a5af5d'
...
Conflicts:
td/telegram/MessagesManager.cpp
2020-10-01 14:53:43 +02:00
levlam
d66c404f3a
Fix can_get_message_thread flag.
...
GitOrigin-RevId: 4f44e18cecabd3e7f1aff85a91078b3749e76bfc
2020-10-01 15:52:19 +03:00
levlam
6e9108a69d
Disallow message threads in not-linked chats.
...
GitOrigin-RevId: aaf20c0076c3fe2ceb30b65d1f9fef602aa8e51d
2020-10-01 15:47:58 +03:00
Andrea Cavalli
23af91ce0d
Merge commit '7cde6f0adb890300355663f904155570197f8b9d'
2020-10-01 14:37:44 +02:00
levlam
6c63c859c9
Add MessagesManager::get_top_thread_full_message_id.
...
GitOrigin-RevId: 002b7503278a9a84c96b41088b888220498b10f6
2020-10-01 15:25:54 +03:00
levlam
6944b4d435
Pass expected_idalog_id instead of channel_id in GetDiscussionMessageQuery.
...
GitOrigin-RevId: b5e537a49e25c5d342e8dd682cb6ca7e4bfc2686
2020-10-01 14:47:02 +03:00
Andrea Cavalli
c83fc13a60
Merge commit '1d9989cbd700492ffe636385d5578946f62139d9'
...
Conflicts:
td/telegram/ContactsManager.cpp
td/telegram/ContactsManager.h
td/telegram/MessagesDb.cpp
td/telegram/MessagesManager.cpp
2020-10-01 13:22:37 +02:00
Andrea Cavalli
d5fc32937f
Option "dialog_unload_delay"
...
This option allows to override the default dialog unload delay. The allowed range is from 0 to 86400 seconds (1 day). Set to -1 to restore the default behavior
2020-10-01 12:38:42 +02:00
Andrea Cavalli
8255ff5ded
Merge commit 'a6463970b1b6c88d81cd0360446248abb348f1b0'
2020-10-01 11:59:47 +02:00
Andrea Cavalli
b922e14de5
Merge commit '6d23ea4aa90d6a9815138efb832d45ee91cb984d'
...
Conflicts:
td/telegram/files/FileManager.cpp
2020-10-01 11:52:14 +02:00
Andrea Cavalli
503488a801
Merge commit '4d47247fc135d63ec13b7521c74460bfda03e557'
2020-10-01 11:46:07 +02:00
Andrea Cavalli
24ee424c91
Merge commit '3aee3527511ce43ae670081f3f65a71e7c92ee2c'
...
Conflicts:
td/telegram/MessagesDb.cpp
2020-10-01 11:42:54 +02:00
levlam
b8f81b2ac0
Fix message_thread_id in td_api::messageThreadInfo.
...
GitOrigin-RevId: f308844f1ea02eab8993df5c660d7cf1242484bc
2020-10-01 12:13:20 +03:00
levlam
476a18630f
Initialize top_thread_message_id when reply_info is changed.
...
GitOrigin-RevId: 1cf186d342468dc9d5f0c2cd9c5052905a102f62
2020-09-30 14:01:40 +03:00
levlam
98524b6748
Improve Message.can_get_message_thread.
...
GitOrigin-RevId: 2f5df56934729c09b52c9324d8bd654570daa3c5
2020-09-30 11:57:52 +03:00
levlam
fcd5fd0eb7
Duplicate per-thread chat actions to the main chat.
...
GitOrigin-RevId: 10fe6e5e44f431409d41526d195b7c9bab2d39a6
2020-09-30 04:59:03 +03:00
levlam
aa180ebed2
Add MessagesManager::send_update_user_chat_action.
...
GitOrigin-RevId: ee85fa091db96aa88abf9aa13e7f2a6609b4e69e
2020-09-30 04:40:30 +03:00
levlam
b751acc3ae
Add td_api::getMessageThreadHistory.
...
GitOrigin-RevId: c5aaa396b1fcdd6704302296e407989ff19be0a0
2020-09-30 04:26:39 +03:00
levlam
22b695515c
Save linked_top_thread_message_id for channel messages.
...
GitOrigin-RevId: fc11105fc3fea044950362efdb94fa1a5de7e5a0
2020-09-29 15:06:08 +03:00
levlam
efb100cc9d
Allow to find messages in a thread in a different dialog.
...
GitOrigin-RevId: 1e874b2bd46408eda12a6d2b8ffe59000c4fe5a5
2020-09-29 13:51:18 +03:00
levlam
7cde6f0adb
Save local thread message ids.
...
GitOrigin-RevId: d0905e9b8ae4d6bed1d25d6ecc6c159d65dc87cd
2020-09-29 00:22:35 +03:00
levlam
ab99fc7a8d
Store yet unsent message IDs separately for different threads.
...
GitOrigin-RevId: f68b88a1ea05dcb3096357328635191cae02edcb
2020-09-28 16:08:35 +03:00
levlam
1d9989cbd7
Add top_thread_message_id column to the database.
...
GitOrigin-RevId: 83cd66038c36236305c7a9ed70df09561e89e190
2020-09-28 15:13:25 +03:00
levlam
e20b6ea9fc
Fix getRepliedMessage.
...
GitOrigin-RevId: 6fa5ba6ea7d880433a5b047c79cb49823cd26313
2020-09-28 14:37:45 +03:00
levlam
fb2cfc1fe3
Rename top_erply_message_id to top_thread_message_id.
...
GitOrigin-RevId: 4642286bdc2dc10073b1ab418b274af16b35c122
2020-09-28 14:01:15 +03:00
levlam
e294921d5f
Improve can_get_message_thread flag.
...
GitOrigin-RevId: 29d2e2870839407b446c435f6a24dc63bc535dbc
2020-09-28 13:55:05 +03:00
levlam
245185d260
Rename flag to can_get_message_thread.
...
GitOrigin-RevId: 7c34bb6f576421a27ed6aa8362075ed20577f743
2020-09-28 13:10:12 +03:00
levlam
8ab932460a
Fix deletion of all messages from user in the Replies chat.
...
GitOrigin-RevId: ac3ba0cb16d70fbec939558904f04b78a6907498
2020-09-27 15:00:04 +03:00
levlam
f1dcdc9a49
Fix reply_header for service messages.
...
GitOrigin-RevId: ff9b1a5bcdd557362a34282a66734fa077b6099c
2020-09-27 01:47:16 +03:00
levlam
d20bf6001f
Hide and show replies when reply markup is changed.
...
GitOrigin-RevId: 2cf53851a4ec8c72b72fffae15d256a7a5bd5761
2020-09-25 16:37:24 +03:00
levlam
1fe397e43d
Make optionValueInteger value int64.
...
GitOrigin-RevId: 7da1c4f051691ff7df31627115a9a37e6c5d5802
2020-09-25 00:46:16 +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
089fda8d13
Add blockChatFromReplies method.
...
GitOrigin-RevId: 45591f36bd5482d567c758b42572b953babe2537
2020-09-24 15:29:34 +03:00
levlam
a1a04c3a0f
Support sending messages to threads with message album root.
...
GitOrigin-RevId: 59f9b1a557b5130f266e06eba1ad62f26d090769
2020-09-23 21:58:55 +03:00
levlam
2c8900704f
Correctly apply GetDiscussionMessage results.
...
GitOrigin-RevId: 2c73e76425bfb17635c02079933cbb6ec7ad6196
2020-09-23 18:26:27 +03:00
levlam
ca2465a025
Clear message thread draft if needed.
...
GitOrigin-RevId: efb50d58b77d249417937c9ff2ba292bc664a994
2020-09-23 02:09:30 +03:00
levlam
e2a596e11f
Add chat_id and message_thread_id to messageThreadInfo.
...
GitOrigin-RevId: 57945b02f90e74aba10e519f0f140e97f5447f9b
2020-09-23 02:02:41 +03:00
levlam
25676d7ff0
Allow to specify message_thread_id in sendMessage/sendMessageAlbum/sendInlineQueryResult.
...
GitOrigin-RevId: b9d3545b42355c04afe305f05c0366b0bf3095b0
2020-09-23 01:52:16 +03:00
levlam
a83a356e44
Support local draft messages in message threads.
...
GitOrigin-RevId: f75e36f803b0aea5c6aff83831c31e0a312898db
2020-09-22 19:45:27 +03:00
levlam
3522d8dae0
Repalce getDiscussionMessage with getMessageThread.
...
GitOrigin-RevId: 8f5a828b3d1decf9c9c9061eaa706362b2b0272b
2020-09-22 17:27:35 +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
08ff725767
Support viewing messages in message threads.
...
GitOrigin-RevId: 5bde413f4192993e12b8e89ff5cb569421b90d78
2020-09-22 01:13:06 +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
621c920655
Add LogeventIdWithGeneration helper class.
...
GitOrigin-RevId: 838115e565a4b1b349d5248117ac869d2e73b6e1
2020-09-21 15:21:41 +03:00
levlam
3148dc0871
Add is_discussion_message.
...
GitOrigin-RevId: d3934040be55c5199accd330f1bc0807cbf3d6a3
2020-09-21 01:08:49 +03:00
levlam
2afbf38c33
Make universal offline getMessageLink method.
...
GitOrigin-RevId: 523db9044cfb2d41076ac98974d4a00f0740e2a6
2020-09-20 22:07:27 +03:00
levlam
8f4e9b2ed4
Add td_api::getMessageEmbeddingCode.
...
GitOrigin-RevId: cd26212418c3de5fc5046da456fad84f0f633d0d
2020-09-20 18:17:47 +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
9ecb61965d
Move is_blcoked to Chat.
...
GitOrigin-RevId: 7d1fc672c9487feba0839b7af669323464243ffc
2020-09-20 01:54:40 +03:00
levlam
b593d2a367
Add total_count to getChats, searchChats and getGroupsInCommon method responses.
...
GitOrigin-RevId: 2177bf47b38239a2d6e437f17d9f694ee5c31521
2020-09-20 00:28:26 +03:00
levlam
dad48976b5
Add unread status in message threads.
...
GitOrigin-RevId: ed0fb2fc705b9539001b365fd5aa07d762d9a382
2020-09-19 22:01:28 +03:00
levlam
b343892944
Update layer 119.
...
GitOrigin-RevId: dc12a78b697774a8bff24152a39ca2bbdc641fe2
2020-09-19 14:32:18 +03:00
levlam
5b07557f3d
Support receiving typings inside a message thread.
...
GitOrigin-RevId: ccedc84e6066d37835e560929c69c3f2cb010dcf
2020-09-18 20:15:12 +03:00
levlam
bda5a3c5bd
Allow sending chat actions inside message thread.
...
GitOrigin-RevId: 6ad0b659f957013fa493386ad808eb6767399253
2020-09-18 19:42:31 +03:00
levlam
b45ccc6d14
Update layer 119.
...
GitOrigin-RevId: fba8e1e0e8cf9b6fda11ab3762bd6efca5865eb8
2020-09-18 18:32:59 +03:00
levlam
8405b08f0a
Support links to comments in getMessageLinkInfo.
...
GitOrigin-RevId: 5f52a6bbf183c01423724bc540af52f39463d2fe
2020-09-18 04:14:59 +03:00