Commit Graph

4838 Commits

Author SHA1 Message Date
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
72b63e2533 Support Unicode command line arguments on Windows.
GitOrigin-RevId: c4e20183cac0e98964850fb6a78c020996489bc1
2020-09-14 23:32:13 +03:00
levlam
25accb2d4d Silence expected warning.
GitOrigin-RevId: 82f914b98914abfdecc2aa7d4dfc55ea6ef0d0ed
2020-09-14 19:06:51 +03:00
levlam
98adef1145 Move url_decode to tdutils.
GitOrigin-RevId: bd9ef4caa56996a96626b16998b423ab304b9ee6
2020-09-14 18:58:39 +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
0ad6ff0599 Add usage in OptionParser.
GitOrigin-RevId: 0a15b69eda345c0fbc503afc26c6787f5fbcaa8e
2020-09-14 17:04:45 +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
91942f29d3 Add OptionParser::parse_integer helper function.
GitOrigin-RevId: d202848b64c27bb260e189783722508684b633c5
2020-09-14 14:45:22 +03:00
levlam
b8e0201694 Align long options in OptionParser usage.
GitOrigin-RevId: 496c90e876c02ba923e3d7dac7e04a57b4e9766c
2020-09-14 14:33:42 +03:00
levlam
96835d417b Improve OptionParser error messages.
GitOrigin-RevId: 97795e0a64122986e78d01a34205317fc5bef835
2020-09-14 14:22:43 +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
a74d02f412 Add option for checking IP address in the certificate as host.
GitOrigin-RevId: dba5b87a59f3d3d3241051ee0257a5786fdf4fb0
2020-09-14 03:58:57 +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