Commit Graph

608 Commits

Author SHA1 Message Date
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
711b0cfd4f Introduce DialogAction class.
GitOrigin-RevId: f94011c1b70cdc17115bfbb981c6e000110adfbf
2020-10-01 19:28:10 +03:00
levlam
6c63c859c9 Add MessagesManager::get_top_thread_full_message_id.
GitOrigin-RevId: 002b7503278a9a84c96b41088b888220498b10f6
2020-10-01 15:25:54 +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
fb2cfc1fe3 Rename top_erply_message_id to top_thread_message_id.
GitOrigin-RevId: 4642286bdc2dc10073b1ab418b274af16b35c122
2020-09-28 14:01:15 +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
d20bf6001f Hide and show replies when reply markup is changed.
GitOrigin-RevId: 2cf53851a4ec8c72b72fffae15d256a7a5bd5761
2020-09-25 16:37:24 +03:00
levlam
90ee4bd63c Minor fixes.
GitOrigin-RevId: ef4e2cfe4f198caec26daf04423eb26afedde5bb
2020-09-24 19:15:42 +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
ca2465a025 Clear message thread draft if needed.
GitOrigin-RevId: efb50d58b77d249417937c9ff2ba292bc664a994
2020-09-23 02:09:30 +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
08ff725767 Support viewing messages in message threads.
GitOrigin-RevId: 5bde413f4192993e12b8e89ff5cb569421b90d78
2020-09-22 01:13:06 +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
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
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
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
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
cd6cfc52ac Add td_api::getDiscussionMessage.
GitOrigin-RevId: 5adf174ae08f0cf3c430ea0222f818a54988823f
2020-09-15 17:07:34 +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
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
fb0a43ee93 Automatically update message interaction info when linked channel is changed.
GitOrigin-RevId: 248afe64dbb6fe2e3e4fe72e474220e6c257d286
2020-09-13 17:52:39 +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
85be738d9d Support automatic forward of media albums as albums.
GitOrigin-RevId: cb1f6446eef0b49f944491d07e2d44fb67a2a1c8
2020-09-12 20:50:16 +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
f24ec0c490 Disallow unsupported reply markup by anonymous bots.
GitOrigin-RevId: 8bcd5df60b1938e6fc172d87c0d7a37bc59db205
2020-09-12 13:20:39 +03:00
levlam
f5572725c5 Support sending messages by anonymous administrators.
GitOrigin-RevId: a84245ea5e27b7e7fe5d9b303f5456d321887136
2020-09-11 21:06:01 +03:00