Commit Graph

232 Commits

Author SHA1 Message Date
levlam
f404f7799b Move TL object fetch to cpp.
GitOrigin-RevId: 8700426caa00ca34be9716b9875cd4c87f8dc51f
2018-09-25 05:24:32 +03:00
levlam
7b5e6b9362 Split td_api::getPassportAuthorizationForm into two requests.
GitOrigin-RevId: 77fc44704061109014b522d9396935ac47e4f6f9
2018-09-25 05:12:41 +03:00
levlam
81c0afafa3 Allow limit == -offset in getChatHistory.
GitOrigin-RevId: 8a050a75c0428304bb61c36a2c284b6309c6a8ea
2018-09-24 04:25:24 +03:00
levlam
db14b2da4e Add dummy td_api::getCurrentState.
GitOrigin-RevId: 31ea0cfdc0c715fec52ef27340bed7358b13e042
2018-09-20 19:33:41 +03:00
levlam
29e65aab4a Add file_index to td_api::passportElementErrorSourceFile.
GitOrigin-RevId: d77d21361dfece0867bfe880d93aa9c8a2898ac9
2018-09-19 03:00:29 +03:00
levlam
e1415facf2 Allow to call getStorageStatistics before authorization.
GitOrigin-RevId: f801124c6e2646a165a1951598efcba71cc1cc38
2018-09-17 20:48:05 +03:00
levlam
2d05be04dd Follow new server-side limits on first/last name and title length.
GitOrigin-RevId: 89fe4eb85c42859974142fd163ea9fd062fde459
2018-09-17 07:00:19 +03:00
levlam
a4f98024a0 Add date to user profile photos.
GitOrigin-RevId: 70ed9117d9cfc5a0e0db4746e645f2e704599a1b
2018-09-12 23:59:10 +03:00
levlam
6129ebf394 Improve message.id description.
GitOrigin-RevId: 6f73288153716ad399b00c8170212ef2008dc640
2018-09-05 15:08:42 +03:00
Sasha Koss
7dad9a36df Clarify the message id description (fixes #245)
Clarify that the message id is unique to the chat it belongs to.
2018-09-05 15:04:35 +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
20d1e6902d Update Telegram Passport documentation.
GitOrigin-RevId: 1406f36c44b69bda5f29243bd6d874e83334d317
2018-09-04 02:44:05 +03:00
levlam
dea5dea49a Fix C# binding thread-safety.
GitOrigin-RevId: 48b4ec74878f815d2a3d280a9f9f8a524509ab93
2018-09-03 12:47:32 +03:00
levlam
642f5ed81a Use Windows line feeds in generated files on Windows.
GitOrigin-RevId: 53010ee7d1a3b88bedc3c0a5fd6914d31bb33c09
2018-09-01 17:00:28 +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
3ac0116988 Calculate key count for each language.
GitOrigin-RevId: aad64d5cecb70f10e3a1cd013b58c7183ad67d31
2018-08-23 03:45:04 +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
88295c5071 Update getMapThumbnailFile documentation.
GitOrigin-RevId: 1cbd5ab983cfabdb0b1032ab4a66e2a671af3b8e
2018-08-20 01:26:14 +03:00
levlam
208633bbce Update layer 85.
GitOrigin-RevId: 6a3346c14e35faa39bcbe9a47d1edd92f7ac1a34
2018-08-20 00:28:43 +03:00
levlam
d464ba71b8 Rename payload to nonce.
GitOrigin-RevId: ac49a3c22307cf904c440b9b6ddb34feee38da1a
2018-08-17 22:16:55 +03:00
levlam
16b33f67c7 Add shorthand requests getContacts, joinChat and leaveChat.
GitOrigin-RevId: 95ce6e52aaefafd8bb1c7a70fd096b2156d1a164
2018-08-16 20:09:23 +03:00
levlam
f411737f1c Fix documentation.
GitOrigin-RevId: 8ece75f9aaad19ecfcdb2cc677a7dfa80326b054
2018-08-14 16:25:43 +03:00
levlam
712d6bea89 Support translation for Telegram Passport personal documents.
GitOrigin-RevId: b54a7193e584b631ca6d9aeb132be72e02e5f87f
2018-08-14 16:17:47 +03:00
levlam
8d5c17036a Use Location access hashes.
GitOrigin-RevId: 1f018d5e42e1c657492f2e1da74700632825c8f9
2018-08-14 02:11:49 +03:00
levlam
c6bc8f7c3f Add td_api::getMapThumbnailFile.
GitOrigin-RevId: f02f154cc8a3ce62f888bdaf9c159cebcb4a350a
2018-08-13 23:18:27 +03:00
levlam
dcaf773152 Native names support in Passport.
GitOrigin-RevId: 3f38ec52d8c645eb6ab529bc4968ad400949482f
2018-08-12 19:12:25 +03:00
levlam
062c016b2c Always use cached secure values for sendPassportAuthorizationForm.
GitOrigin-RevId: f1827b89c0ef6870813784e48762cd96325d4b89
2018-08-12 16:46:05 +03:00
levlam
4f8d855527 Support new Passport authorization form.
GitOrigin-RevId: 5830754700dcd19f4e0bcb08ccb5d72c22db76f0
2018-08-12 12:51:24 +03:00
levlam
4052bffcd5 Update layer 85.
GitOrigin-RevId: 5902d95080c65b2aed40d199f14634dadb30926a
2018-08-11 00:08:13 +03:00
levlam
c1c1308ba8 Update layer 85.
GitOrigin-RevId: 65fb62fea07f05637b2b652f09a4a6be2de3346b
2018-08-10 22:21:03 +03:00
levlam
3d05d44be8 Update layer to 85.
GitOrigin-RevId: 0a32bd0287e3d09dd484c8dbe230f29b92d19771
2018-08-10 19:39:48 +03:00
levlam
00fabb8f97 Update layer to 84.
GitOrigin-RevId: a2057596f00201ee967e7d038e048b618f6e629d
2018-08-10 16:22:48 +03:00
levlam
7c145a412b Custom language packs support.
GitOrigin-RevId: e7f76319dae5be3e20f81b41a0226e5f96f91ba1
2018-08-06 17:22:22 +03:00
levlam
c9c2760173 Update layer to 83.
GitOrigin-RevId: 2220a0399ed081441fefc06069b06efa11b8447b
2018-08-04 09:55:49 +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
8de0bcd0a6 Add support for HTTP-only HTTP proxies.
GitOrigin-RevId: 7b8e3e7afb0f26c8e8fa97b0ffff5d1ad0267b5c
2018-07-27 03:54:25 +03:00
levlam
a547f42886 Add support for transparent HTTP proxies.
GitOrigin-RevId: 5ae836625a60d1f84b0ca8df2c41bf07e8ba59fd
2018-07-26 16:49:18 +03:00
levlam
4717e5529a Add td_api::getLanguagePackString.
GitOrigin-RevId: 37ee2203264bb78ed3de88c21350a99212d89c3e
2018-07-23 20:29:14 +03:00
levlam
846ecc89a7 Fix documentation.
GitOrigin-RevId: 7540e43da08e932e98acd99ce8fe64faf66606e4
2018-07-20 03:02:55 +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
c87fd6e7ee Update documentation,
GitOrigin-RevId: 4ba39bfec9053afb32185eb93e4c1b8140c085f9
2018-07-19 02:17:14 +03:00
levlam
1aa94575e8 Minor fixes.
GitOrigin-RevId: 33b0f159e7003d7b9dce28033a7e90169a9421bc
2018-07-17 14:27:24 +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
091c2fdf44 Improve documentation.
GitOrigin-RevId: 3ecbb6d86f53c299a55b0f0f6ed09741358db289
2018-07-15 11:48:24 +03:00
levlam
f57ebd9d26 Mention message_*_length_max options in the documentation.
GitOrigin-RevId: 07ac7f75bdb78e7e84e3fe3015b675dcb6bbce63
2018-07-12 03:54:22 +03:00
levlam
08db51cdce In-memory thread-safe cache for language pack strings.
GitOrigin-RevId: 71dc10a925f1000590501c4ddfc307806e242e51
2018-07-05 21:28:11 +03:00
levlam
b28ec40407 LanguagePackManager draft. getLanguagePack, getLanguagePackStrings methods.
GitOrigin-RevId: 959e1fd4a76eb5005d8a53c3e88abb3054fb9a5e
2018-07-03 20:28:00 +03:00
levlam
db48e0abac Add updateUnreadChatCount.
GitOrigin-RevId: 151d11964c23443da8a975d32e343226e650bb9d
2018-07-02 04:02:30 +03:00
levlam
c02ed05cfb Fix documentation.
GitOrigin-RevId: 1e06e4a1b26162faedb16d9f4ad9392cd1a9d25b
2018-06-29 18:36:10 +03:00
levlam
b74ca51b36 Better fields documentation.
GitOrigin-RevId: 346206d64f05125b7b46bd695b0988b01d088d21
2018-06-28 02:54:28 +03:00
levlam
c40cacfa34 Marked as unread support.
GitOrigin-RevId: b439d8365dad9580cf2d93f97037a2f37cd83adf
2018-06-28 00:08:44 +03:00
levlam
a3571b676e Allow to call deleteAccount before authorization. ConfirmPhone support.
GitOrigin-RevId: 36829ee37780ee82b1eb25cea594a673aa490dda
2018-06-27 21:26:52 +03:00
levlam
aa13a57a3c Update layer to 82. Contact.vcard support.
GitOrigin-RevId: 302d65351cfaeb6b4e82c594565ab1aef18b2a42
2018-06-26 00:10:53 +03:00
levlam
fa80e98227 Simplify Java getConstructor.
GitOrigin-RevId: c26fe30c837a09e50810b86d407ba14fe906afa0
2018-06-25 17:30:15 +03:00
levlam
2fdf013504 Java documentation generator improvements.
GitOrigin-RevId: 7c63fd8d816707b45fdee5b852a16e64a084df58
2018-06-25 17:23:56 +03:00
levlam
231c00ed9f Java: return this.CONSTRUCTOR from getConstructor.
GitOrigin-RevId: 152401286b24ec03a25339f3a704cbe2923e9b44
2018-06-24 21:22:51 +03:00
levlam
1ef5c89a91 Allow tg URLs in text links and url buttons.
GitOrigin-RevId: 9708c3016375564e737bf5a8f79494807d61c10f
2018-06-19 13:23:52 +03:00
levlam
4d5197d31c Edit message media.
GitOrigin-RevId: eba2f32f4e033720ea1143463a9f3d1eae54880d
2018-06-19 02:31:34 +03:00
levlam
70be2b6f85 Add chat.is_sponsored field and updateChatIsSponsored.
GitOrigin-RevId: 0100c868c410f9b4324b3e0de9912bec22d172d5
2018-06-15 22:52:52 +03:00
levlam
0f0e5de3f2 Update updateTermsOfService documentation.
GitOrigin-RevId: 38f0a10464aaf9917dc383b26d9d30759197e1c8
2018-06-12 17:59:14 +03:00
levlam
a72494d721 Support Terms of Service.
GitOrigin-RevId: 389c4ba590a4feb34ac6d801f9097291e87423d8
2018-06-07 21:42:17 +03:00
levlam
a1f90582d9 Documentation for proxy_id == 0 in pingProxy.
GitOrigin-RevId: db8988a29ad5881150204e7f952c95d6095ff5d2
2018-06-05 17:55:00 +03:00
levlam
56a2cac6ba Update layer to 81.
GitOrigin-RevId: c6579e02edaff656ab17b3d94695cab8c7960b2d
2018-06-01 23:15:13 +03:00
levlam
3ef7a790e9 Fix documentation.
GitOrigin-RevId: 3308d2141bae1da2aef7e5ead61bccfc18c9ae94
2018-05-29 20:22:19 +03:00
levlam
3631815cc6 Add country_code to getTermsOfService.
GitOrigin-RevId: 35480bdb801373122d7e0536b30becb45c312db4
2018-05-25 11:49:00 +03:00
levlam
266722112e Fix clearImportedContacts and getImportedContactCount.
GitOrigin-RevId: 295c524eab124ee19284841b2b6aa3083c850446
2018-05-25 00:37:43 +03:00
levlam
0e48dd8a81 New ConfigRecoverer scheme.
GitOrigin-RevId: 1101ddc56b0836387faf089ca52fe7376db9f88f
2018-05-24 18:09:27 +03:00
levlam
0ad0079900 Add documentation for AUTH_KEY_DROP_.
GitOrigin-RevId: 992db5e7368ec75fbd30ae1f7ec6a8b4a5a06cd9
2018-05-23 20:09:57 +03:00
levlam
db6777c7f2 Use p_q_inner_data_dc.
GitOrigin-RevId: f1e57b83d850ac4233bf9508b6585aaf0efe1423
2018-05-23 19:49:05 +03:00
levlam
6f7d4b08bf Update layer to 80.
GitOrigin-RevId: fe59fee694886bd63e412fa8de33dd561302218c
2018-05-21 07:18:39 +03:00
levlam
cb6c46071e td_api::getProxyLink.
GitOrigin-RevId: 0d876446bbbb22467c452b088f4df24e7e1624a2
2018-05-17 21:08:51 +03:00
levlam
0fd4a3b780 Support for synchronous request and setAlarm before initialization.
GitOrigin-RevId: cd7c803d7755437a3240816f221817e08beb33d6
2018-05-15 23:04:27 +03:00
levlam
7de9a0c15d New Proxy API.
GitOrigin-RevId: 2f96b8d1732c25e10a7568c6cf2dbbe26a150e4a
2018-05-14 22:00:38 +03:00
levlam
40db52670d Vector<bytes> support in .NET binding.
GitOrigin-RevId: b9b168c865bb2144e902229e36776bdce92f22dc
2018-05-11 13:53:49 +03:00
levlam
c65b998cd6 All updatePromotedChat.
GitOrigin-RevId: 4a3c6283026ba15836cb7fa011c4b3ad21a64baa
2018-05-08 23:02:15 +03:00
levlam
98289b9963 Add proxyMtproto to td_api.
GitOrigin-RevId: c872c063bc6e5d94c80ac1daa6b916f8ce5f4c23
2018-05-08 17:48:30 +03:00
levlam
63695490e0 Update layer 78.
GitOrigin-RevId: dfef982111d092425e56a400e0cc9f4c9cfcb2c9
2018-05-08 15:50:33 +03:00
levlam
821bc642cf Update layer 78.
GitOrigin-RevId: 8aac14c20fc90c6a0b118fbbe80d4b83034416a2
2018-05-03 13:18:07 +03:00
levlam
0fb07d3376 td_api::cleanFileName.
GitOrigin-RevId: e03cf634eb6a1e8f7191ea2e6a62f8b8990b21d0
2018-04-30 15:50:54 +03:00
levlam
e9ba26c4f0 Default disable_notification support.
GitOrigin-RevId: 014a8b141dc1cff5126748c7785ea22d12aef7b3
2018-04-28 21:05:04 +03:00
levlam
68484e6c98 Update layer 79.
GitOrigin-RevId: 9ff40bab645f4c4f08fc0ee7699749c2eb64fd89
2018-04-27 15:38:02 +03:00
levlam
62d668674b Remove fileTypeSecureEncrypted.
GitOrigin-RevId: 33adf461aeea26cf5c4cbb1d28ade3a258b61126
2018-04-27 11:00:56 +03:00
levlam
4e7b07508f Various PassportData fixes.
GitOrigin-RevId: 7c8ce3d564c37dcc75715b5dac7886749e0ed9d3
2018-04-26 23:41:34 +03:00
levlam
1a0c874a67 Update layer to 79. Some fixes.
GitOrigin-RevId: 9356eee58e48d7c191a1bccb7e25d6875a07fb51
2018-04-24 19:21:47 +03:00
levlam
11dc52463f tg_cli: improve as_input_passport_data.
GitOrigin-RevId: 8b3a9fa5d3f63487baf1ce5a466b6a0a1c68fc19
2018-04-23 23:33:51 +03:00
levlam
2b75f6030f Various improvements.
GitOrigin-RevId: e2480ad06ef003e2d0e8db769c837d5b713d96c1
2018-04-23 20:51:59 +03:00
levlam
8fdb19e06e DatedFile support.
GitOrigin-RevId: d38c3711f66f07ab2beab1c96ac0b9896138f7ec
2018-04-20 17:48:17 +03:00
levlam
0c785aa361 Support passportDataError.
GitOrigin-RevId: 4a331274c4f53c5deab3ada92cf6b2cca7a3618e
2018-04-18 17:28:48 +03:00
levlam
89c54af478 inputPassportDateError.
GitOrigin-RevId: 1a3da4ea394244b6def4af6a08e855e13e048866
2018-04-18 14:19:47 +03:00
levlam
b4b9d19768 Update Passport Data errors.
GitOrigin-RevId: fbf12ff23c5f6baf4696a05024edc2c9aa6970b6
2018-04-17 20:53:25 +03:00
levlam
9319cb981e Update layer 78. PassportDataError support.
GitOrigin-RevId: 78d92384a464818fbdff3e76d9c4cdf8367b4545
2018-04-17 18:04:09 +03:00
levlam
166bd07fd9 Add more checks for Passport field values. Allow empty expiry_date.
GitOrigin-RevId: f3119c59c0ba85dbfe4ac1371bfd20fcbaab2ab6
2018-04-16 17:30:37 +03:00
levlam
4a3784155a td_api::getDeepLinkInfo.
GitOrigin-RevId: edcedaeeaeb54802bb2830343e43ab095f92acaf
2018-04-12 23:51:42 +03:00