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
|
4aa10dbcc5
|
Fix seq updating after all updates was processed.
GitOrigin-RevId: 11070e368d10d8378b5b30010a5ea1028d4e2fbe
|
2020-09-22 18:16:05 +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
|
3b97a0944d
|
Ensure that MessageReplyInfo.max_message_id is at least as last_read_message_id.
GitOrigin-RevId: 7c1f38f06e1fe1f687f923387c7baa9b2f5ac7ef
|
2020-09-21 16:37:07 +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
|
e3f5719c5c
|
Remove unneeded td_ usages.
GitOrigin-RevId: 4cf456413228f086d7df3d21d7024baf6db1bf15
|
2020-09-20 02:02:27 +03:00 |
|
levlam
|
9ecb61965d
|
Move is_blcoked to Chat.
GitOrigin-RevId: 7d1fc672c9487feba0839b7af669323464243ffc
|
2020-09-20 01:54:40 +03:00 |
|
levlam
|
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
|
54ed8cfbc5
|
Save channelFull.is_blocked flag.
GitOrigin-RevId: 1c780c0a700070cfccc38c94b87778a7cd4415f7
|
2020-09-19 14:43:37 +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 |
|
levlam
|
153521be4f
|
Check message dialog in GetDiscussionMessageQuery.
GitOrigin-RevId: 7131e2d04e9f4ed65aa99176cb17d28c9b3851d4
|
2020-09-18 01:43:56 +03:00 |
|
levlam
|
bcba0f8f78
|
Bump enitites fix date again.
GitOrigin-RevId: 28b83e168ee6ce10d6da36650d0956c1309cb7c8
|
2020-09-17 17:08:01 +03:00 |
|
levlam
|
1da8d859c9
|
Add for_group and for_comment in getMessageLink.
GitOrigin-RevId: 1ca027280f9e1013a1ad0ba20ed54ffbbcad2bb6
|
2020-09-17 16:47:27 +03:00 |
|
levlam
|
e7a835fd55
|
Improve get_public_message_link.
GitOrigin-RevId: a1f8106c23d438f0bdb1ff4c1af3ef4c0f2391bd
|
2020-09-17 00:55:39 +03:00 |
|
levlam
|
5ef1b0e873
|
Add last_read_comment_message_id to MessageInteractionInfo.
GitOrigin-RevId: e03cecb40db8c4c013c1c6aa16ff7eb4acba5c6a
|
2020-09-16 20:57:34 +03:00 |
|
levlam
|
7e6cb9a8e4
|
Handle updateReadDiscussion.
GitOrigin-RevId: 2cb783768934ee67bad98511edfc061ae6aa879b
|
2020-09-16 16:41:08 +03:00 |
|
levlam
|
2b5b6386fc
|
Update layer 119.
GitOrigin-RevId: 5a357984b79e16c155b209ab4cfc146a137519c9
|
2020-09-16 15:42:39 +03:00 |
|
levlam
|
33f315cfbb
|
Return result to the GetDiscussionMessageQuery promise.
GitOrigin-RevId: 9e950f47cb9e99e199ea03e31dd0cd12377adaec
|
2020-09-15 23:18:08 +03:00 |
|
levlam
|
b5fc3012b3
|
Add max_message_id and max_read_message_id to MessageReplyInfo.
GitOrigin-RevId: f58dafcd0abd825019010b88f3e9d2835ad69311
|
2020-09-15 19:45:45 +03:00 |
|
levlam
|
cd6cfc52ac
|
Add td_api::getDiscussionMessage.
GitOrigin-RevId: 5adf174ae08f0cf3c430ea0222f818a54988823f
|
2020-09-15 17:07:34 +03:00 |
|
levlam
|
2cca74bf80
|
Use messages.getReplies when appropriate.
GitOrigin-RevId: cba140893d0b5d4c6d2b7f4c364947019b9e85d2
|
2020-09-15 02:42:59 +03:00 |
|
levlam
|
eeac13ce8d
|
Do not update forward count when receive discussion message.
GitOrigin-RevId: de9dc38e8a8bb3747d4c955c46ddaf374b408959
|
2020-09-15 02:00:28 +03:00 |
|
levlam
|
e32ce60f38
|
Fix reply_in_dialog_id in td_api::message.
GitOrigin-RevId: 0d8257e8f9e56df845c47bfb7696c38e5fd3f701
|
2020-09-15 01:49:40 +03:00 |
|
levlam
|
25accb2d4d
|
Silence expected warning.
GitOrigin-RevId: 82f914b98914abfdecc2aa7d4dfc55ea6ef0d0ed
|
2020-09-14 19:06:51 +03:00 |
|
levlam
|
16bd7bd98e
|
Add checks that delete is not called for incomplete type.
GitOrigin-RevId: 19755ebbee56eb874e84fd8544899fd70a78df7f
|
2020-09-14 18:11:34 +03:00 |
|
levlam
|
cb71adbfd5
|
Fix CountryInfoManager destructor.
GitOrigin-RevId: ed5225ff0f7937dd6d4d7584e4e3a7854acef8c2
|
2020-09-14 18:02:19 +03:00 |
|
levlam
|
ac197bec10
|
Fix warning.
GitOrigin-RevId: a89389b76fb188a92c94f737452d2be7bef28adc
|
2020-09-14 17:52:04 +03:00 |
|
levlam
|
6e08881d81
|
Fix handling of updateCallSignalingData.
GitOrigin-RevId: 81a12c58a8e5d015ebe25de0b8c1fb1e31bd84e7
|
2020-09-14 16:02:37 +03:00 |
|
levlam
|
12577df8c5
|
Fix CHECK.
GitOrigin-RevId: 17c371798e0a67e4af25d0653c7edf604a33ab03
|
2020-09-14 15:47:38 +03:00 |
|
levlam
|
143a4961b6
|
Improve inputMessageDocument.disable_content_type_detection field name.
GitOrigin-RevId: b2155f743635437e11d4c346bad641427cb737fa
|
2020-09-14 15:40:34 +03:00 |
|
levlam
|
bc000b5a53
|
Add OptionParser::parse_string helper.
GitOrigin-RevId: 506b1d9c1b6cfb6029bb87e32a98f08b0d16b2d4
|
2020-09-14 14:51:52 +03:00 |
|
levlam
|
e96e8a45f8
|
Increase message cache time to 30 minutes for bots.
GitOrigin-RevId: ef7a6833d62ce356012aba043c526199a200717d
|
2020-09-14 12:48:10 +03:00 |
|
levlam
|
3ae535eae7
|
Make get_message_dialog_id static.
GitOrigin-RevId: 66761856feedcd56b491f19538b6ef61260ad5e8
|
2020-09-14 02:32:37 +03:00 |
|
levlam
|
a6463970b1
|
Delete received empty channel messages.
GitOrigin-RevId: f6754fb7381c2e72983874033ac1e2bbc2293c89
|
2020-09-14 02:23:02 +03:00 |
|
levlam
|
d940b86113
|
Drop public message links from cache when dialog username changes.
GitOrigin-RevId: 008652cfb854f5298c7e9522fc086c78f1a66ecd
|
2020-09-14 01:44:55 +03:00 |
|
levlam
|
e082b2ac49
|
Store public message links separately for each dialog.
GitOrigin-RevId: 2b227d07c8ec7c42cabd7af78ffde3ff07799f92
|
2020-09-14 01:39:34 +03:00 |
|
levlam
|
1cd9f5d8c9
|
Support generating of public links for comment messages.
GitOrigin-RevId: 68d9a0260e60719f129e05d32fcbf756e93fa5d4
|
2020-09-14 01:12:24 +03:00 |
|
levlam
|
ed10f1851c
|
Keep reply_count only in discussion supergroups.
GitOrigin-RevId: f9f603e89eba8dcb9a8b92574c6e15ecace9cb4e
|
2020-09-13 17:57:06 +03:00 |
|
levlam
|
fb0a43ee93
|
Automatically update message interaction info when linked channel is changed.
GitOrigin-RevId: 248afe64dbb6fe2e3e4fe72e474220e6c257d286
|
2020-09-13 17:52:39 +03:00 |
|
levlam
|
c7a9e5980c
|
tg_cli: support custom message ID separators in deleteMessages.
GitOrigin-RevId: f070685d2fee167e3679d57e84d70fff1f682f72
|
2020-09-13 01:31:08 +03:00 |
|
levlam
|
8c43f751cd
|
Synchronously send media group to keep the relative message order.
GitOrigin-RevId: 7f6f0f1b47dae56f3bc459f81fc2922fdc7b46dc
|
2020-09-13 01:28:14 +03:00 |
|
levlam
|
d6f5675cb2
|
Always use send_closure_later in *_message_ready_to_send to keep the relative message order.
GitOrigin-RevId: 711dec50273bd457640d8515e583f5365ccc567d
|
2020-09-13 00:51:24 +03:00 |
|
levlam
|
de1a582734
|
Improve inputChatPhotoAnimation documentation.
GitOrigin-RevId: e78459f571c478b61223f01334759e501a54061b
|
2020-09-13 00:10:40 +03:00 |
|
levlam
|
c60bdaeeba
|
Add reply_to_message_id support in message copies.
GitOrigin-RevId: 1304da421b63721ba15a93e35b06cd6514190b71
|
2020-09-12 22:24:04 +03:00 |
|
levlam
|
85be738d9d
|
Support automatic forward of media albums as albums.
GitOrigin-RevId: cb1f6446eef0b49f944491d07e2d44fb67a2a1c8
|
2020-09-12 20:50:16 +03:00 |
|
levlam
|
22265ab338
|
Repair sender_dialog_id in channel messages.
GitOrigin-RevId: 71cbcb1252798f54da9c40b2c7838ea5f9327683
|
2020-09-12 17:55:52 +03:00 |
|
levlam
|
80c6f207fb
|
Do not allow switch inline buttons in anonymous messages.
GitOrigin-RevId: 6f0d88ca9f926a42c12f3859035ae1a66f90876e
|
2020-09-12 17:45:24 +03:00 |
|
levlam
|
324c0acbea
|
Repair sender_dialog_id for old automatically forwarded to the discussion group messages.
GitOrigin-RevId: f567e646f1d00e60523ea213ca2476e92dfef8d3
|
2020-09-12 17:31:20 +03:00 |
|
levlam
|
7842beed95
|
Exit early some functions for bots.
GitOrigin-RevId: b155610c1c61846d1c113b07cce4403333fa952e
|
2020-09-12 17:10:06 +03:00 |
|
levlam
|
f24ec0c490
|
Disallow unsupported reply markup by anonymous bots.
GitOrigin-RevId: 8bcd5df60b1938e6fc172d87c0d7a37bc59db205
|
2020-09-12 13:20:39 +03:00 |
|
levlam
|
a925c22469
|
Do not send dialog actions by anonymous administrators.
GitOrigin-RevId: c67c1fc5b2ca97fb4a261d224af42b0be49f6807
|
2020-09-11 22:01:55 +03:00 |
|
levlam
|
f5572725c5
|
Support sending messages by anonymous administrators.
GitOrigin-RevId: a84245ea5e27b7e7fe5d9b303f5456d321887136
|
2020-09-11 21:06:01 +03:00 |
|
levlam
|
2aaf1ebe3f
|
Simplify forward count updating.
GitOrigin-RevId: 7986012adffddb95728c2f08af46ccc32848feb0
|
2020-09-11 20:27:10 +03:00 |
|
levlam
|
5ffca2bffb
|
Add send_update_message_interaction_info.
GitOrigin-RevId: 83ad785a336f4ca12f5dea4e9a9c8cc93e2e98a9
|
2020-09-11 20:20:46 +03:00 |
|
levlam
|
db5adecbda
|
Update reply count on new message receiving.
GitOrigin-RevId: ba0831b13ee0ee816fee8a4cd8bd2878803e1453
|
2020-09-11 20:12:31 +03:00 |
|
levlam
|
6d23ea4aa9
|
Do not change download order after file merge.
GitOrigin-RevId: cb1327b7b78cd42cd873040acca328ed00dddb2b
|
2020-09-11 18:57:49 +03:00 |
|
levlam
|
f9a7917eff
|
Simplify is_acceptable_dialog usage.
GitOrigin-RevId: 0914cd24bb8c1a2cc878692a0f157d17dab667dd
|
2020-09-11 17:56:17 +03:00 |
|
levlam
|
7df0c5084a
|
Fix updateShortMessage handling.
GitOrigin-RevId: 35c667af5646654ed9f8495774043adb10b12faf
|
2020-09-11 17:51:01 +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
|
01f3eecd85
|
Add support for is_anonymous administrator right.
GitOrigin-RevId: d0d46d961aebcc67275bb09ec883f6feaa465c63
|
2020-09-11 01:49:15 +03:00 |
|
levlam
|
2c0a9367ac
|
Simplify adding dialog dependencies.
GitOrigin-RevId: 27c9fcc1221e60960f0183e9d792121ca5e8fb0a
|
2020-09-10 23:24:33 +03:00 |
|
levlam
|
eb72b64c80
|
Add reply_in_dialog_id and message_thread_id support.
GitOrigin-RevId: 4b8a21566fbf6d31a6f4ef2b19f787361e2d1a1a
|
2020-09-10 16:29:10 +03:00 |
|
levlam
|
643371aa2f
|
Check message reply header in updates.
GitOrigin-RevId: bb71f4cf73f104b6d2f9da18305007336b9397bf
|
2020-09-10 16:28:25 +03:00 |
|
levlam
|
aa6c746e8d
|
Add MessagesManager::fix_server_reply_to_message_id.
GitOrigin-RevId: cafb49b6885fc992ff4867a254771a1fa9a6084b
|
2020-09-10 14:54:34 +03:00 |
|
levlam
|
220ad5352b
|
Allow write access to linked supergroups.
GitOrigin-RevId: 05008f9e07dc1d0759235431d999d59f50d7e820
|
2020-09-09 03:40:17 +03:00 |
|
levlam
|
4d47247fc1
|
Support chats as recent repliers.
GitOrigin-RevId: 6da36600e99c655f4484f09fc787382481a3148b
|
2020-09-09 02:32:07 +03:00 |
|
levlam
|
f05b8cec61
|
Update layer 119. Add sender_chat_id.
GitOrigin-RevId: ac837165b7bbd57631456291503e688339e04d03
|
2020-09-08 22:08:10 +03:00 |
|
levlam
|
0540ae7b60
|
Add min_date/max_date to searchMessages.
GitOrigin-RevId: a340969e431dd2de018461f3904da6569a91b166
|
2020-09-08 14:58:02 +03:00 |
|
levlam
|
1a6ca88777
|
Support search within message thread.
GitOrigin-RevId: 8ea2ac97000527d743b5a983eed57c3dd206b76c
|
2020-09-08 14:17:56 +03:00 |
|
levlam
|
3aee352751
|
Add MessageReplyInfo.{cpp,h}.
GitOrigin-RevId: 0f5b18fdbaac549d4c5a963b067056824d373c4e
|
2020-09-07 14:07:40 +03:00 |
|
levlam
|
4655be3052
|
Improve documentation.
GitOrigin-RevId: eae53b31c03f9d9f97f7c511b2eed5ea2f79d7f9
|
2020-09-02 14:47:55 +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
|
b90e1bbeaf
|
Update layer to 119.
GitOrigin-RevId: fdec9a689414746baf67cc15ec279e2516c2765a
|
2020-08-30 22:12:43 +03:00 |
|
levlam
|
1a4a834b2d
|
Add progressive JPEG support.
GitOrigin-RevId: 48c56c3c2575da76df5e9237f6fb043e374bf30d
|
2020-08-25 15:09:24 +03:00 |
|
levlam
|
1843e92961
|
Add td_api::getPhoneNumberInfo.
GitOrigin-RevId: bba065e87cf5d68026d7408c2a34770f6e4f931d
|
2020-08-25 13:42:14 +03:00 |
|
levlam
|
3860953251
|
Add td_api::getCountries.
GitOrigin-RevId: 1c70e6e267b9582afe50014ffc9d1ef81a33f123
|
2020-08-24 23:38:45 +03:00 |
|
levlam
|
eff3dd9f36
|
Make CountryInfoManager actor.
GitOrigin-RevId: 4e03cee13e38b682c6e063f16cd078345c0c00ff
|
2020-08-24 14:39:03 +03:00 |
|
levlam
|
1c6f778e8d
|
Fix message handling during logging out.
GitOrigin-RevId: 6542058eb0fcec8e2693db5f5f8abf725c4d4ed7
|
2020-08-24 13:43:54 +03:00 |
|
levlam
|
59265a41f5
|
Add CountryInfoManager.
GitOrigin-RevId: cdd8cab21bac58e6162cae7b806aef8dfe400b81
|
2020-08-24 00:43:31 +03:00 |
|
levlam
|
7bf004c8c3
|
Improve function name.
GitOrigin-RevId: 93a8577f8cbe4e7d12f5365b0ea3eff8d5b82a94
|
2020-08-23 23:02:20 +03:00 |
|
levlam
|
b575ed9a98
|
Add static assert for array size.
GitOrigin-RevId: 1f044bd3c05346316d27c7ae0462a2b0d575168a
|
2020-08-23 21:25:06 +03:00 |
|
levlam
|
3305ca5689
|
Fix misprint.
GitOrigin-RevId: cb8c1e3f26771d317ae3c9db1157d8e98d0ad3a8
|
2020-08-23 20:34:05 +03:00 |
|
levlam
|
dd722844bd
|
Early conversion to MessageSearchFilter.
GitOrigin-RevId: c74a75329a873842ee30ce45515a05024da26153
|
2020-08-22 10:48:36 +03:00 |
|