Commit Graph

69 Commits

Author SHA1 Message Date
levlam
8c69dbcaee Fix "added_shareable_chat_folder_count_max" option. 2023-07-21 17:08:39 +03:00
levlam
6685bcfd7a Remove "archive_and_mute_new_chats_from_unknown_users" option. 2023-07-14 15:41:38 +03:00
levlam
eb78cf1883 Add "story_caption_length_max" option. 2023-06-29 15:20:30 +03:00
levlam
09a30a4b3c Support stories_changelog_user_id option. 2023-06-27 17:26:17 +03:00
levlam
ca8b80d198 Add Story.can_get_viewers. 2023-06-19 19:13:08 +03:00
levlam
4c1ee918b3 Add "archive_all_stories" option. 2023-06-16 14:58:06 +03:00
levlam
cc14dbb8a1 Add td_api::premiumLimitTypeActiveStoryCount. 2023-06-15 20:38:46 +03:00
levlam
33ac156bc0 Increase appConfig version. 2023-04-09 01:50:02 +03:00
levlam
c8c8b63e2b Add AppConfig cache. 2023-02-15 23:33:30 +03:00
levlam
f6615189af Update layer to 154. 2023-02-07 14:01:45 +03:00
levlam
cf1984844b Update copyright year. 2023-01-01 00:28:08 +03:00
levlam
515a9cfb48 Minor improvements. 2022-08-18 23:31:14 +03:00
levlam
c5b258f097 Explicitly pass options to get_simple_config_*. 2022-08-18 21:45:29 +03:00
levlam
3318ffdb20 Proxy all option-related requests through G. 2022-08-17 16:11:13 +03:00
levlam
32bac7bd24 Move Promise to tdutils. 2022-06-27 13:30:18 +03:00
levlam
bfcf52f87c Support MTPROTO_CLUSTER_INVALID error. 2022-06-06 20:36:15 +03:00
levlam
ab4a5d7499 Move get_premium_features to Premium.h. 2022-05-24 01:36:55 +03:00
levlam
2166f80ccb Add td_api::getPremiumFeatures. 2022-05-23 15:56:31 +03:00
levlam
8085779cdc Update copyright year. 2022-01-01 03:35:39 +03:00
levlam
00a349656d Unify td/telegram/include order. 2021-10-27 17:32:09 +03:00
levlam
c3d898f1e6 Add ConfigManager::reget_app_config. 2021-10-06 01:17:10 +03:00
levlam
9f44816a62 Minor improvements. 2021-10-21 12:51:16 +03:00
levlam
db7aa28bdf A lot more minor improvements. 2021-10-19 18:11:16 +03:00
levlam
40c5d47717 Make inherited classes final if possible. 2021-07-04 05:58:54 +03:00
levlam
edfa5d1d98 Use final instead of override. 2021-07-03 23:51:36 +03:00
levlam
c4dab736c9 Add suggestedActionCheckPhoneNumber support. 2021-06-11 02:13:46 +03:00
levlam
fa7ce9b94d Move get_external_link_info to LinkManager. 2021-06-03 23:19:35 +03:00
levlam
62c9890bcf Support url_auth_domains. 2021-03-16 01:29:54 +03:00
levlam
54b9760935 Improve getExternalLink methods. 2021-03-16 00:52:37 +03:00
levlam
e19f59662e Move functions for handling suggested actions to SuggestedActions.cpp. 2021-02-22 18:25:49 +03:00
levlam
a14c9071f1 Use struct for SuggestedAction. 2021-02-21 01:06:45 +03:00
levlam
a41bca4b0e Move get_update_suggested_actions_object to SuggestedAction.cpp. 2021-02-21 00:21:14 +03:00
levlam
2193928cf6 Add getExternalLink method. 2021-02-04 14:36:11 +03:00
levlam
52c1da0a70 Update copyright year. 2021-01-01 15:57:46 +03:00
levlam
3305ca5689 Fix misprint.
GitOrigin-RevId: cb8c1e3f26771d317ae3c9db1157d8e98d0ad3a8
2020-08-23 20:34:05 +03:00
levlam
f266aa3912 Minor fixes.
GitOrigin-RevId: a4aacfa1ecab2718475d32bcbd99f9671ba7e982
2020-08-14 22:51:10 +03:00
Arseny Smirnov
1d56a371cd ConfigManager: minor refactoring for hangup_shared
GitOrigin-RevId: 56af208cbe2e32120fa286b9e19fce58beaf8c9b
2020-08-11 16:31:50 +03:00
levlam
ba1c2781d8 Save correct config expire time, but still reget config on every restart.
GitOrigin-RevId: 6aa14c424b159def6ca0ebc9dad0ddbe13010854
2020-07-26 15:41:32 +03:00
Arseny Smirnov
2a5c826111 Ask for a config when there is no options for some DC
GitOrigin-RevId: e750c78a4685a20c93c888dee6eaf630b80f7d31
2020-07-16 21:37:13 +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
80c35676a2 Update copyright year.
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
2020-01-01 04:23:48 +03:00
levlam
adb10460b2 Minor fixes.
GitOrigin-RevId: 0c678ad195683947355b63af5aff49875312b4a3
2019-12-23 20:48:30 +03:00
levlam
4ce946a310 Reload app config after ignore_sensitive_content_restrictions is changed.
GitOrigin-RevId: fa7438017444e41a9b067d52c681e101579cc978
2019-12-20 04:19:40 +03:00
levlam
761a3dab9e Ensure that last set value of ignore_sensitive_content_restrictions is set.
GitOrigin-RevId: 266ac32fac8906b852a9e47561f5f83be74885bc
2019-12-20 04:06:38 +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
6605a8c3a7 Automatically get app config after getConfig and preprocess it.
GitOrigin-RevId: 318c01f2718422fe6abad423f10de7549ae63620
2019-12-19 04:58:03 +03:00
levlam
ddd8e6fa0f Move help_getAppConfig receiving to ConfigManager.
GitOrigin-RevId: 310743ea038dffebd59c9b612438bc7cfc7553a4
2019-12-19 04:23:14 +03:00