Commit Graph

155 Commits

Author SHA1 Message Date
levlam
f08c0180b4 Const-correct tl::unique_ptr.
GitOrigin-RevId: b72a92a7169973c2d95e410cfbfed668a412e7e7
2018-09-21 20:52:22 +03:00
levlam
1362f0bd0a Make ContactsManager::get_current_state const.
GitOrigin-RevId: b86cb9e05bed37fff06c77f235fc3039c8626334
2018-09-21 10:34:15 +03:00
levlam
e086b4f740 Add MessagesManager::get_current_state.
GitOrigin-RevId: c5bcea8ae60503a50ab9707b61fcc082ebc89f79
2018-09-21 10:15:07 +03:00
levlam
8e0f49dc62 Support updateTermsOfService in getCurrentState.
GitOrigin-RevId: b12f653432e0ee5b9ed3c7a7e8cb39e6dec7800b
2018-09-20 23:08:55 +03:00
levlam
e1812c6531 Add AnimationsManager::get_current_state.
GitOrigin-RevId: 77349703eb55cf61b13941dba7bd513068c8519c
2018-09-20 22:38:19 +03:00
levlam
f9de09833c Add StickersManager::get_current_state.
GitOrigin-RevId: 52c53d43d72150d297f2c511c0e49cb83d22b873
2018-09-20 22:25:09 +03:00
levlam
f8894dbff9 Add ContactsManager::get_current_state.
GitOrigin-RevId: 108cab6899368e264684aab79d488384be968e48
2018-09-20 21:37:35 +03:00
levlam
b2f9a33832 Send option "version" before all other updates.
GitOrigin-RevId: 6f9e36dd474ce191ff53a91aafeb95c8792aa300
2018-09-20 20:41:22 +03:00
levlam
db14b2da4e Add dummy td_api::getCurrentState.
GitOrigin-RevId: 31ea0cfdc0c715fec52ef27340bed7358b13e042
2018-09-20 19:33:41 +03:00
levlam
2c5ce9591d Fix td_api::setOption.
GitOrigin-RevId: d8974fa15c882d3a90ec9f5574f64c70957e547a
2018-09-20 15:07:01 +03:00
levlam
e1415facf2 Allow to call getStorageStatistics before authorization.
GitOrigin-RevId: f801124c6e2646a165a1951598efcba71cc1cc38
2018-09-17 20:48:05 +03:00
levlam
b480409927 Do not allow changing of some options by unauthorized users or bots.
GitOrigin-RevId: 0a86c99779a8df3e300ae798c0e0f46b1c7fe813
2018-09-15 15:52:03 +03:00
Arseny Smirnov
da118270bd Remove TdCallback::on_closed
GitOrigin-RevId: e08d6c10e4147c39f2d6f5ea795f92875644f1a7
2018-09-14 19:58:13 +03:00
levlam
03a11bc2ec Client improvements.
GitOrigin-RevId: 85b45a31fbb7b7b84a87d3951086332d750de01c
2018-09-14 19:35:34 +03:00
levlam
a4f98024a0 Add date to user profile photos.
GitOrigin-RevId: 70ed9117d9cfc5a0e0db4746e645f2e704599a1b
2018-09-12 23:59:10 +03:00
levlam
78bd4b0447 Fix setting online before setTdlibParameters.
GitOrigin-RevId: f8a1038415100667de798e88fb484d850aa2da32
2018-09-12 22:51:34 +03:00
Arseny Smirnov
89fe455514 Support td_api::close and td_api::destroy in WaitParameters state
GitOrigin-RevId: dc2ab631b2ae4151eec285fcdc54e93d9838a7cc
2018-09-11 20:04:10 +03:00
levlam
7629802ac7 Make expect_blocking option public.
GitOrigin-RevId: 9c61c1272d8f9d2b401c838d15949001b6378626
2018-09-08 23:25:54 +03:00
levlam
15856c0272 Local cache of language pack list.
GitOrigin-RevId: bb4e7cbbd82cee7367cfe60678782e0ff9563e1b
2018-09-04 15:01:08 +03:00
levlam
ad26781fbc Update language pack API.
GitOrigin-RevId: 252723bc424afb8e0eb3c1647198e302b23e10db
2018-09-04 04:29:26 +03:00
levlam
3022046858 Add td_api::editCustomLanguageInfo.
GitOrigin-RevId: df4919a0b4b781751be4f6eb60063ddd48560741
2018-08-31 20:18:12 +03:00
levlam
4238f28a19 Add td_api::getPreferredCountryLanguage.
GitOrigin-RevId: a7abb6ac1b702292216fdf046b07af92fce99d65
2018-08-24 01:02:59 +03:00
levlam
0300c3387e Better td_api::languagePackString.
GitOrigin-RevId: 1d65914ecd09584ae58b3a57a9f59c5ecb34dea5
2018-08-23 00:29:26 +03:00
levlam
7e45ca25f7 Add td_api::setCustomLanguageString.
GitOrigin-RevId: 0f4b7a531bacd9ab8eae0b8da631fe53dbaf1c7c
2018-08-22 23:11:54 +03:00
levlam
d464ba71b8 Rename payload to nonce.
GitOrigin-RevId: ac49a3c22307cf904c440b9b6ddb34feee38da1a
2018-08-17 22:16:55 +03:00
levlam
811cc8f393 Better error messages.
GitOrigin-RevId: 9d77793cb6bcc8d3f9c64c01324ca55bd61a08c4
2018-08-16 20:31:42 +03:00
levlam
16b33f67c7 Add shorthand requests getContacts, joinChat and leaveChat.
GitOrigin-RevId: 95ce6e52aaefafd8bb1c7a70fd096b2156d1a164
2018-08-16 20:09:23 +03:00
levlam
c6bc8f7c3f Add td_api::getMapThumbnailFile.
GitOrigin-RevId: f02f154cc8a3ce62f888bdaf9c159cebcb4a350a
2018-08-13 23:18:27 +03:00
levlam
062c016b2c Always use cached secure values for sendPassportAuthorizationForm.
GitOrigin-RevId: f1827b89c0ef6870813784e48762cd96325d4b89
2018-08-12 16:46:05 +03:00
levlam
7c145a412b Custom language packs support.
GitOrigin-RevId: e7f76319dae5be3e20f81b41a0226e5f96f91ba1
2018-08-06 17:22:22 +03:00
levlam
986652a1ae Change Telegram Passport API object and function names.
GitOrigin-RevId: 8e7d3602146dab76f62aa86f7539187559d2ca92
2018-08-01 16:52:07 +03:00
levlam
1ab13463bf Add td_api::editProxy.
GitOrigin-RevId: aae0664d65ce0731b1a9ede9615453cfe0822619
2018-07-27 18:10:45 +03:00
levlam
4717e5529a Add td_api::getLanguagePackString.
GitOrigin-RevId: 37ee2203264bb78ed3de88c21350a99212d89c3e
2018-07-23 20:29:14 +03:00
levlam
9b6382d5d0 Check language_pack and language_code for validness.
GitOrigin-RevId: bc4907a06f74af8bdda9e8bdec82e7a3ce788580
2018-07-22 03:29:48 +03:00
levlam
92c04286e3 Add language_pack_database option.
GitOrigin-RevId: 99f4b3f75f396d5b25287f4a98bae2dfdda9df00
2018-07-20 16:15:19 +03:00
levlam
15828a2329 Add members filter to searchChatMembers.
GitOrigin-RevId: 8d553d6c73e32446eaa7e6ebb5bdf562458d258d
2018-07-20 03:00:17 +03:00
levlam
fc966adca9 Add exclude_secret_chats parameter to clearAllDraftMessages.
GitOrigin-RevId: 7b08fe3e954d9e361d7e20c4341575e2101e6dbc
2018-07-19 17:23:18 +03:00
levlam
460675316c Add td_api::getChatMessageCount method.
GitOrigin-RevId: f2257074e276e12084b43a63db17f852fb5f500e
2018-07-19 16:58:09 +03:00
levlam
4594885e61 Update layer 82: chatReportReasonCopyright, clearAllDraftMessages.
GitOrigin-RevId: 79d9adf61a17b11996eeecfa94c205d1cdc34a51
2018-07-17 06:46:27 +03:00
levlam
e819a0ed56 Support for language pack updatimg. td_api::updateLanguagePack.
GitOrigin-RevId: edc3bf65914b73d168d33eea38ff05cc2efd80ec
2018-07-17 05:58:34 +03:00
levlam
1a82e6d3f1 Add default values for message_text_length_max and message_caption_length_max options.
GitOrigin-RevId: 4f2d3d087d17ec5e7aeb62933c5525a7e12d6ca7
2018-07-12 03:50:58 +03:00
levlam
8501dbedf8 Fix check_dialog_username.
GitOrigin-RevId: 47dd0a62c10f0bc8e91748f8197676f7b72aab2e
2018-07-10 16:56:37 +03:00
levlam
f3aaff1e1a Pass language_pack, language_code and language_pack_version to LanguagePackManager.
GitOrigin-RevId: ba4be396d4da14a3169544d25ccb9850dbb9077a
2018-07-05 03:52:58 +03:00
levlam
b28ec40407 LanguagePackManager draft. getLanguagePack, getLanguagePackStrings methods.
GitOrigin-RevId: 959e1fd4a76eb5005d8a53c3e88abb3054fb9a5e
2018-07-03 20:28:00 +03:00
levlam
b4f72859d7 Better is_internal_config_option.
GitOrigin-RevId: 656dc4f1cd41f1a25da5fae8d13da9ac24d26c0d
2018-07-03 01:59:25 +03:00
levlam
296950f1cf Add suggested_language_code option.
GitOrigin-RevId: 67472e28774cb506f11687d0ac86b24cb707dfc9
2018-07-03 01:52:43 +03:00
levlam
9c8a6f9c65 Better MTProto header updates.
GitOrigin-RevId: f7df4c8259c286b699e27a7e33f2477515c6e798
2018-07-02 23:36:45 +03:00
levlam
ac1d7a9657 Add prefer_ipv6 option.
GitOrigin-RevId: b20e8c699e20c4fb6ec76cd53aeaeee509cd2115
2018-07-01 17:19:59 +03:00
levlam
139a858d80 Use CREATE_OK_REQUEST_PROMISE instead of simple RequestOnceActor.
GitOrigin-RevId: 7ba8db1c05ed06b9824e482ba6c12024c5a0106d
2018-06-29 00:06:17 +03:00
levlam
0cd2e5be7e Remove CREATE_PROMISE parameter.
GitOrigin-RevId: b22c06169678c8bd147c05ee812d00ebb0696fdd
2018-06-28 22:17:38 +03:00