Commit Graph

415 Commits

Author SHA1 Message Date
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
levlam
d83d8a4977 Supress updateNewMessage for scheduled messages from database and received before first return of the scheduled messages list.
GitOrigin-RevId: e04e707c23259ce1ea9b651164ddf7df91ccb4a1
2020-02-28 23:01:30 +03:00
levlam
5fef27af1b Add parameter force to get_dialog_scheduled_messages.
GitOrigin-RevId: 1876be0d4de852aa3508810c491e3bb073ae0384
2020-02-27 21:31:19 +03:00
levlam
e14d15196c Repait broken entities instead of clearing.
GitOrigin-RevId: 7044b000997b7415f55caa1610c418a76c7ea793
2020-02-25 01:46:30 +03:00
levlam
9862652e14 Use the exact file size instead of the real file size in fast storage statistics on Windows, because the real file size is smaller then expected before the file is synced.
GitOrigin-RevId: 451231c899c1b6c6b80b46e2cb42bd3b94def0a5
2020-02-19 17:57:30 +03:00
levlam
3aa55a2e89 Add setLocation method.
GitOrigin-RevId: 43fef89f4d2175cf9ec5a20409979c988e781a28
2020-02-14 16:17:45 +03:00
levlam
3153e72d2f Add is_location_visible writable option.
GitOrigin-RevId: 1960a28d395c28a381be2bfd4ee739c473f0ea43
2020-02-14 15:44:56 +03:00
levlam
77de3d9f48 Simplify more methods implementation.
GitOrigin-RevId: a70f40f7b8917b3a41fd26476d357c0ad63ab062
2020-02-14 01:20:33 +03:00
levlam
f15542b5df Simplify some methods implementation.
GitOrigin-RevId: 64ffbbf56f47d32de8bf97603611c4edffeddc00
2020-02-14 00:42:03 +03:00
levlam
f253a343b8 Simplify getAccountTtl implementation.
GitOrigin-RevId: d8ae4d8ed79a84497deaa039bc86c5c672da51f2
2020-02-13 19:28:42 +03:00
levlam
a5aaa4d0f1 Add getBankCardInfo method.
GitOrigin-RevId: 1c3c6f5dae3bd197c9aa6998836ffada58f8a094
2020-02-13 19:20:34 +03:00
levlam
985e051bbe Add TopDialogCategory.h.
GitOrigin-RevId: ce481612a17e38268b8b2c3a9d7b9ebad5cb572d
2020-01-27 03:19:54 +03:00
levlam
590e8efcb4 Improve logging.
GitOrigin-RevId: 1cef0e92ceb9cec005ebb693303d8fd808338771
2020-01-24 01:08:21 +03:00
levlam
6b1ef9d66d Fix SplitSource build.
GitOrigin-RevId: 8a59347e5f18e5774111c85be0ac5e6045eb59a9
2020-01-23 17:49:51 +03:00
levlam
16bf911dde Update layer 109. TON-related requests was removed.
GitOrigin-RevId: 7b6cba050a43aab728928e145829a402a055df52
2020-01-20 01:52:46 +03:00
levlam
8350443093 Add limit to getPollVoters.
GitOrigin-RevId: 7f782124e111680b3b726685d6633e79f3d3b60f
2020-01-18 07:01:05 +03:00
levlam
4e22f29c53 Add td_api::getPollVoters.
GitOrigin-RevId: 47ad78287433a2efb9b66f18a960e4de6060842a
2020-01-13 21:21:58 +03:00
levlam
92c9149e30 Add debug logging.
GitOrigin-RevId: b67b034ffa59ab24c18c4c1fd782946b13ffb86b
2020-01-12 00:19:43 +03:00
levlam
53da415b5c Send updates for "unix_time" option.
GitOrigin-RevId: 08f48634a02602060d55b8b8628e20d7d2618381
2020-01-08 23:41:03 +03:00
levlam
3659757dc3 Add parameter searchEmojis.input_language_code.
GitOrigin-RevId: c0cc78cb2957c9b9be4c3310a0505d08f6189006
2020-01-08 19:07:40 +03:00
levlam
f7caca6023 Remove unused wait_binlog_replay_finish.
GitOrigin-RevId: 3b48057703b70f8b4d9ec8b17b14ea75418bda4c
2020-01-07 03:38:10 +03:00
levlam
123361b26a Better check for is_bot.
GitOrigin-RevId: a4dc6b4b2a38eb3474b2265af32b56f8500818df
2020-01-05 15:24:37 +03:00
levlam
80c35676a2 Update copyright year.
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
2020-01-01 04:23:48 +03:00
levlam
b929a95fe2 Update documentation.
GitOrigin-RevId: 2dc3b759de07cea17cf3fb0d7569244ead20fbd0
2019-12-31 00:58:11 +03:00
levlam
ba5ccf48c6 Add source to on_get_sticker_set.
GitOrigin-RevId: 90cccf55f20fc5dafb6c76a2f780f19a818487cf
2019-12-29 04:59:34 +03:00
levlam
7e1fa1fcb9 Better warning silencing in force_create_dialog.
GitOrigin-RevId: 2f10cbe2091f2d2d8e15de8e813c5997954f9900
2019-12-25 22:57:12 +03:00
levlam
cefc10e0ba Send updates when ignored_restriction_reasons changes.
GitOrigin-RevId: 8c30b41dfb3a34c9eca3d8a7be4622ee172593de
2019-12-20 16:11:58 +03:00
levlam
7a92ee35fc Allow to set ignore_sensitive_content_restrictions option.
GitOrigin-RevId: 17899f72c0485c821c150a258232e1348195a936
2019-12-20 02:58:41 +03:00
levlam
6d8a816a68 Add ignore_sensitive_content_restrictions and can_ignore_sensitive_content_restrictions options.
GitOrigin-RevId: 9a46d3eae3b8e17b51cf33b02e14aedc84261800
2019-12-19 23:00:28 +03:00
levlam
57911db0ba Support ignored restriction reasons from appConfig.
GitOrigin-RevId: 8831b4379764cfd36212083c889449c3d7354114
2019-12-19 19:58:33 +03:00
levlam
5b676ca475 Add unix_time option to response of getCurrentState.
GitOrigin-RevId: 22c4b887b3f5681d0d673510d4e45cde8327b4d0
2019-12-19 19:22:38 +03:00
levlam
ddd8e6fa0f Move help_getAppConfig receiving to ConfigManager.
GitOrigin-RevId: 310743ea038dffebd59c9b612438bc7cfc7553a4
2019-12-19 04:23:14 +03:00
levlam
9f60d0bae1 Support QR code authentication.
GitOrigin-RevId: 140381ee80339b5ac2e15f149ad3a37688200e88
2019-12-17 19:17:57 +03:00
levlam
71ddd7c7e3 Add getInactiveSupergroupChats method.
GitOrigin-RevId: 45b15965e50ab5d153a0de4e575fab6ac22eed11
2019-12-13 17:27:44 +03:00