Commit Graph

548 Commits

Author SHA1 Message Date
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
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
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
dd722844bd Early conversion to MessageSearchFilter.
GitOrigin-RevId: c74a75329a873842ee30ce45515a05024da26153
2020-08-22 10:48:36 +03:00
levlam
fcd1cda312 Add filter support to searchMessages.
GitOrigin-RevId: 571b0ee894296c1e8c947939f7098a1566731461
2020-08-21 17:40:05 +03:00
levlam
f9c0ddae06 Add getMessagePublicForwards method.
GitOrigin-RevId: a0b16c241bcf3276c245423f7fff3f41751883b6
2020-08-21 14:47:43 +03:00
levlam
605e0844fb Use string new_offset in FoundMessages.
GitOrigin-RevId: b0d013e7d2513cc39f1c07013c837e6adb7e924a
2020-08-18 15:10:03 +03:00
levlam
3c83aae127 Add CallbackWithPassword buttons support.
GitOrigin-RevId: 99e79f8975d50a9a87183dd78f2641711bbad28d
2020-08-18 09:32:37 +03:00
levlam
53ca6e4f4a Add td_api::getMessageStatistics.
GitOrigin-RevId: f5d32ef829b91aa1fea59ea88b665fe39d32642c
2020-08-01 05:19:54 +03:00
levlam
39a42bfd74 Return previous actor context before stopping Td just in case.
GitOrigin-RevId: 1737f25bd1990fbffe16c075c87cbfa23b3e0d85
2020-09-02 23:35:54 +03:00
levlam
32fc05ab70 Add updateOption with "version" to getCurrentState response before initialization.
GitOrigin-RevId: 0e3221e2a78dacc21850b7f64e15b0c0e1efc297
2020-08-27 15:52:32 +03:00
levlam
2277557f52 Do not try to get promo data before authorization.
GitOrigin-RevId: 404e4fad3802c37fb05df68d05035b9903f2eb33
2020-08-16 10:17:46 +03:00
levlam
8fb53c6ec2 Allow to replace caption when message is copied.
GitOrigin-RevId: 6e190830d66916de2deb0b371185b7db6ea42b00
2020-08-11 10:35:19 +03:00
levlam
301d0577ba Add td_api::sendCallSignalingData.
GitOrigin-RevId: d14899cd97fb46d472bcb48fd4b51f568e995608
2020-08-10 11:34:28 +03:00
levlam
a404948707 Add MessageCopyOptions.
GitOrigin-RevId: a61b93c3c215c42c9a7f30195cc637187472751e
2020-08-09 14:18:08 +03:00
levlam
95ac56215b Add call.is_video flags to td_api.
GitOrigin-RevId: cba87e4aeeb32ac177dd69416592193056c2f8b1
2020-08-05 22:10:33 +03:00
levlam
20734a565b Make two Td methods private.
GitOrigin-RevId: 7734403e23cdc9e9c7e7b50ba8c41799efc02945
2020-08-02 23:03:06 +03:00
levlam
51be272f44 Remove Td::force_get_difference.
GitOrigin-RevId: 7459df4d6efcb21789cb19a4ba04c90d47ecf353
2020-08-02 22:41:09 +03:00
levlam
c44cd3415c Move QtsManager to UpdatesManager.
GitOrigin-RevId: 792faddd71cb3f9c07a4fd915ca782bfe2606ac3
2020-08-02 22:07:22 +03:00
levlam
0ac58f7494 Fix some includes.
GitOrigin-RevId: 5ce2e3dd3172ff92fa9400d10f0c6ec4b7f46e6e
2020-08-01 21:57:03 +03:00
Arseny Smirnov
bbea867145 TsList: make lock non-static again
GitOrigin-RevId: 7df7dee8bf609f928b351b448c9e132fb2118942
2020-07-31 16:07:07 +03:00
Arseny Smirnov
cacabaf6d1 NetQueryStats
GitOrigin-RevId: 5a04b322e12e2838b1d7f812fcf06bff4eefbace
2020-07-30 17:28:56 +03:00
levlam
b45f8ba3a0 Minor fixes.
GitOrigin-RevId: b7985efd4257bc9bb2b2672f94c5f5671e19dd0f
2020-07-26 14:24:30 +03:00
Arseny Smirnov
c4921adcad Gzip: more tests (with watermark and memory limit)
GitOrigin-RevId: b8eacf5a27d646b9265d2fe43b847888ad58f5af
2020-07-23 16:39:13 +03:00
levlam
cc28bdeae3 Fix "log out" spelling.
GitOrigin-RevId: e943fa4531d4d15043f762883eb8b77d9c58365d
2020-07-23 00:19:47 +03:00
levlam
50da604d65 Improve log formatting.
GitOrigin-RevId: f9b1c0ac431744c3e31a41d3db8823860f1921a1
2020-07-22 16:58:26 +03:00
levlam
23534d218f Use static mutext in TsList.
GitOrigin-RevId: 00bd863b3d5499d463e838771fe5e4bc9b16a31e
2020-07-21 02:05:15 +03:00
levlam
8efb30d34f Wait StateManager close.
GitOrigin-RevId: 5e2b5ac122c373c23f1f21a6912056bbecadf543
2020-07-19 19:29:43 +03:00
levlam
62e3adf6ef Wait TempAuthKeyWatchdog close.
GitOrigin-RevId: ab97787f7e7b5b716bb77faaf335239768f3c60f
2020-07-19 18:18:54 +03:00
levlam
d7f44acf2e Fix TempAuthKeyWatchdog release.
GitOrigin-RevId: 836bd0e2e53fcbf5f2253b25e05bcf8a83fba904
2020-07-19 18:02:45 +03:00
levlam
2e82c65d94 Add hideSuggestedAction method.
GitOrigin-RevId: 11b162f37ab09c77bedae35157fc0870b2110795
2020-07-12 15:04:49 +03:00
levlam
454685efdf Add updateSuggestedActions.
GitOrigin-RevId: 98f42bf3b5fdd8403cb1bef4b594df369ca0efa2
2020-07-11 23:50:21 +03:00
levlam
4117e54a3c Add archive_and_mute_new_chats_from_unknown_users option.
GitOrigin-RevId: 1288bd144eafbd7df30b59eaf1d7440c58b56216
2020-07-10 20:28:30 +03:00
levlam
cf93b3c69c Support initial folder for secret chats.
GitOrigin-RevId: 57894f3ff767a0b24bac08c8251f51f3e4722b6a
2020-06-30 12:11:22 +03:00
levlam
029ee5dd37 Add disable_time_adjustment_protection option.
GitOrigin-RevId: 3a23943b294e2efdabb6c8e0ff606a2c62c05573
2020-07-13 17:01:51 +03:00
levlam
b1ad61add3 Add disable_persistent_network_statistics option.
GitOrigin-RevId: 214f63dec6317949fe13cf1d2fece7e249ddafcb
2020-07-13 16:56:31 +03:00
levlam
68dea56632 Use chatPhoto instead of userProfilePhoto.
GitOrigin-RevId: 4027e53be967551620c61a583bfda789a78f9581
2020-07-07 14:19:54 +03:00
levlam
9a92f6d571 Simplify get_photo_object.
GitOrigin-RevId: 08c8fb7fe4eadb4bff56198d5834c708e032979b
2020-07-06 18:45:43 +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
9334243a5d Unify conversion function names.
GitOrigin-RevId: 10def5544dfd6a94ff89b15441006d102b512439
2020-06-22 04:28:03 +03:00
levlam
4ae7bc23dc Add two ways for OS version detection on Darwin.
GitOrigin-RevId: cddea795e5d289b1fe15d88fc99db51e42c7138e
2020-06-20 02:39:33 +03:00
levlam
0877d7f716 Automatically detect operating system version.
GitOrigin-RevId: d693799fdbfe4919da5a70c141709f2db93063d7
2020-06-19 03:45:24 +03:00
levlam
10c3cc2a51 Improve logging.
GitOrigin-RevId: d724bc73494d5ad5f19bc5d0e87c6bdc361183ee
2020-06-18 03:49:31 +03:00
levlam
6ed1a04cf1 Remove remained TON integration methods.
GitOrigin-RevId: 5d2045602cc31fb24225b604b11dacee88a1b65e
2020-06-08 02:12:57 +03:00
levlam
1e53b71532 Better createChatFilter/editChatFilter return type.
GitOrigin-RevId: 7c9d51add4bc3e2e7bfd92483b2daad83209503b
2020-06-07 22:16:30 +03:00
levlam
b1419f9de5 Fix some includes.
GitOrigin-RevId: f4b44d2e91ca72b6090d7f1f35673e8268723241
2020-06-07 18:14:52 +03:00
levlam
cbf77e3786 Add synchronous td_api::getChatFilterDefaultIconName.
GitOrigin-RevId: 15072bd5fffdd55e9879e0e5076a567bfe56f432
2020-06-05 03:43:13 +03:00
levlam
6e42d79769 Replace emoji with icon_mane in chat filters.
GitOrigin-RevId: 61b30d075e330a92935ea2c8cfc0bf78fb32958b
2020-06-01 16:55:31 +03:00
levlam
2098d08244 Add td_api::getChatListsToAddChat.
GitOrigin-RevId: 2765a827af72de72fd0faae815a51ba8c9f59459
2020-05-31 03:50:52 +03:00
levlam
5477233af9 Replace setChatChatList with addChatToList.
GitOrigin-RevId: c336e0e98b008b1571c4267d466b8cb0f3306957
2020-05-31 00:48:33 +03:00
levlam
7dc2d13afe Make set_dialog_is_pinned private.
GitOrigin-RevId: 3ef6116d16897b28997e7fa91c1d496fce4edee2
2020-05-29 06:57:55 +03:00
levlam
090ef866bd Add DialogListId.
GitOrigin-RevId: e3dd3fb5065e18d087d733e1f537e92119e6f234
2020-05-21 19:39:34 +03:00
levlam
ffb9dd2c6c Add chat_list to toggleChatIsPinned.
GitOrigin-RevId: ffc8a124677f22f8367009e006a4f1ad17953f22
2020-05-19 04:21:50 +03:00
levlam
a8e570fd65 Add td_api::getRecommendedChatFilters.
GitOrigin-RevId: d5f56357448c9f13154b5dead09cbd73ecf01e90
2020-05-19 04:03:15 +03:00
levlam
7fccd7ba7c Add td_api::reorderChatFilters.
GitOrigin-RevId: 33fe529db5e96b6dfc15fc86b1b635fb412091b2
2020-05-19 02:41:07 +03:00
levlam
d2b53fc023 Add td_api::deleteChatFilter.
GitOrigin-RevId: ceb3700d72271c6b570d258f6cf5e46f50d80b07
2020-05-19 01:06:24 +03:00
levlam
49ccb05176 Add td_api::editChatFilter.
GitOrigin-RevId: 51af78e8079dbb89421cdfbd81d4e37b10d95f03
2020-05-19 00:47:34 +03:00
levlam
cc77e7e9ca Add td_api::createChatFilter.
GitOrigin-RevId: 4c3fa89cae21b1db3643cfe7640d8ef1043b99f9
2020-05-18 22:26:44 +03:00
levlam
5959333499 Add td_api::getChatFilter.
GitOrigin-RevId: 024ec630489928bd30fcba6c0c809d4970b66b6c
2020-05-18 02:29:28 +03:00
levlam
2bbbfd684d Add updateChatFilters.
GitOrigin-RevId: 6dcc138d5d83dfcf7a6c0ec4108ea2c516f8caf6
2020-05-15 01:39:28 +03:00
levlam
f6b7ce83f7 Implement update_dialog_lists.
GitOrigin-RevId: 86e87827fe15c6404d1a0e859a99063ea2173557
2020-05-09 23:39:11 +03:00
levlam
6196bab690 Add td_api::updateAnimationSearchParameters.
GitOrigin-RevId: 6f53679977437f279a10fee8b6b1069d37a4e7a6
2020-05-30 02:42:45 +03:00
levlam
4c80155092 Improve spelling.
GitOrigin-RevId: 73edc0a7a57f40c404b4b5c8d00e9b20127f9abc
2020-05-18 22:54:18 +03:00
levlam
6f885c41d9 Rename crypto to RSA.
GitOrigin-RevId: 4c15f44c0d5c618933b7c1aecb3580664a15a557
2020-05-17 17:07:16 +03:00
levlam
0581b298cc Fix some IP address spelling.
GitOrigin-RevId: ca1e3f4110057c3badbd9c5898593a65b72410e2
2020-05-16 23:32:32 +03:00
levlam
3175ed4c0a Minor fixes.
GitOrigin-RevId: e10945b585d067da0b6a532b9d9210aade7673d4
2020-04-30 22:21:42 +03:00
levlam
0af026dd63 Poll promo data always.
GitOrigin-RevId: cf678c7389289dae6f7c040179bb60b86f1cac41
2020-04-30 21:00:58 +03:00
levlam
52ea0998ec Allow to pass multiple input language codes in searchEmojis.
GitOrigin-RevId: 0fb99694447f3ac02063eb9c03af2c2b3dfc267e
2020-04-22 15:17:53 +03:00
levlam
13cfc54b31 Fix leaveChat for supergroup creator.
GitOrigin-RevId: 4f6816225d3a7a72b6458bb78ccda88b38386de9
2020-04-21 21:04:14 +03:00
levlam
8109988247 Add messageDice.need_success_animation.
GitOrigin-RevId: 1c308f71d628d896321ce331c634a6868f504bc0
2020-04-21 14:51:46 +03:00
levlam
8681b76de2 Minor fixes.
GitOrigin-RevId: b75bac1586ed36b91b7c2ab64c386f94f18d8539
2020-04-21 03:29:20 +03:00
levlam
87afb93b93 Fix some ID spelling.
GitOrigin-RevId: cdd8cdb93696c690cf7bdb9b2df175bb926a7510
2020-04-19 13:45:37 +03:00
levlam
fc3a8105a3 Add updateDiceEmojis.
GitOrigin-RevId: 8495528763939fda21e04eac8555aaed975ded62
2020-04-19 11:17:51 +03:00
levlam
06135cccf9 Add parameters offset and limit to getTrendingStickerSets.
GitOrigin-RevId: 360c14f4cd357d23c3537ab26ee55a5b5ed29e81
2020-04-18 01:55:54 +03:00
levlam
5da08f8bb1 Remove unsupported include_sponsored_chat_to_unread_count option.
GitOrigin-RevId: dcedd9c37b8e5453590e092a3651456a4c62ad1c
2020-04-14 00:20:04 +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
bcc8dbc158 Use Global::is_expected_error whenever appropriate.
GitOrigin-RevId: aba8ee6e3dc1ab6e680a5ae10f6c3d217ab0a8dc
2020-03-31 00:35:58 +03:00
levlam
f432d403e7 Remove logging of some expected errors.
GitOrigin-RevId: 2a6e4704d57743da1dba740dc9333cc649c679ee
2020-03-31 00:02:43 +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
f153539ea2 Support creation of animated sticker sets by bots.
GitOrigin-RevId: d75133cf70b667cbdf6dc555cc06f2b43f9c8609
2020-03-23 18:03:13 +03:00
levlam
05253ca35e Add td_api::setStickerSetThumbnail.
GitOrigin-RevId: 1083c307cf89744c4dcfa16f89eaec1d2660309f
2020-03-20 16:36:07 +03:00
levlam
d06a786a16 Simplify NetQueryCreator and remove mtproto dependency on telegram_api.
GitOrigin-RevId: 2edfc9d6d80eab8716dfd3722f6aebe53dba1e47
2020-03-16 01:01:14 +03:00
levlam
b8848a2ab4 Simplify NetQuery creation.
GitOrigin-RevId: a01e72f8e196b405dd28dfd75d16cadc7127ec4a
2020-03-16 00:17:11 +03:00
levlam
8d01251f8b Add NetQueryCreator::create_unauth.
GitOrigin-RevId: 79043a3662b0353f000f388b3ee2763abf49fe2d
2020-03-15 04:51:14 +03:00
levlam
9c0f2b0b90 Add "always_parse_markdown" option.
GitOrigin-RevId: d2eaef75272af9073fac5f49c37643cd544f43e8
2020-03-12 20:20:59 +03:00
levlam
9c67f42682 Add td_api::getMarkdownText.
GitOrigin-RevId: b463cc2c92052c552d66d774450ffa7bb4bc132e
2020-03-12 06:22:14 +03:00
levlam
6417510d51 Return all entities in get_message_entities.
GitOrigin-RevId: b08c7a9ab0cfa9a78e450d5cbf3567203abd7d67
2020-03-10 03:51:56 +03:00
levlam
1068cac8f0 Add synchronous td_api::parseMarkdown method.
GitOrigin-RevId: 89f59eda7076959a6bed9db006f895298e2fd66c
2020-03-09 23:55:32 +03:00
levlam
cc8d876589 Add ignore_default_disable_notification option.
GitOrigin-RevId: 9386d08601bce5b6cd3ef3413033439a30f99362
2020-03-05 00:17:19 +03:00
levlam
7ec4c26514 Improve error messages.
GitOrigin-RevId: 336ef2751e51381c4dd7905ef5b050b691b91e08
2020-03-02 12:52:13 +03:00
levlam
a1e93ebba5 Add optimizeStorage.return_deleted_file_statistics.
GitOrigin-RevId: f7533781027891624017c605b1d3ac3e91da5086
2020-03-02 11:59:47 +03:00
levlam
44b31537aa Add "disable_sent_scheduled_message_notifications" option.
GitOrigin-RevId: ad57858024b07b51b89d7b3c28faf20c3e7577da
2020-02-29 21:17:30 +03:00