Commit Graph

373 Commits

Author SHA1 Message Date
Arseny Smirnov
e07b03dea3 tdweb: experiments with storing incoming files into indexeddb
GitOrigin-RevId: 7ab38676faaf5eb4e8b4c43b05c268d0ea2784de
2019-07-24 15:07:55 +03:00
levlam
378b1df843 Add td_api::resendMessages.
GitOrigin-RevId: 41c14a76aaf05745592328909e47efd5feca2437
2019-08-11 04:05:00 +03:00
levlam
c71dbc28a0 Add send_copy parameter to forwardMessages.
GitOrigin-RevId: 059f992cc8b9c6ae1c6ab3910ffc52b906d12e88
2019-08-09 17:41:26 +03:00
levlam
1afdf258ab Add td_api::CallProblem.
GitOrigin-RevId: 421cd01239ef43d3073556f3a222db17d5d0d3e5
2019-08-06 20:07:23 +03:00
levlam
a5a7e30ec5 Return td_api::error for incorrect requests in JSON interface.
GitOrigin-RevId: 1c3e3f6c2b7a9828930bdfc185f332f6190467d1
2019-08-06 03:29:16 +03:00
levlam
46bb21bbd0 Add td_api::testReturnError instead of td_api::testUseError.
GitOrigin-RevId: a51a927bd6ac0b8e7b75b1f032c3b232d8f42f52
2019-08-06 02:03:44 +03:00
levlam
5ca0a72ddf Add td_api::getMessageLinkInfo.
GitOrigin-RevId: 34213fdada780b9bb8fe6a6db5a0de3be097b55c
2019-08-05 12:12:59 +03:00
Arseny Smirnov
ec28b6c48b StorageManager: new query cancels older queries
GitOrigin-RevId: 42d33f212554dce388f7be3b0a69efd756e7b547
2019-08-02 16:05:01 +03:00
levlam
4afad7985b Fix CE.
GitOrigin-RevId: 18f9d35f1b77a2e50c67f6d07073226b368734ab
2019-08-02 02:14:25 +03:00
Arseny Smirnov
089d73953c FileManager: reload photo on FILE_ID_INVALID
GitOrigin-RevId: defb6736befa35189253f8ac70342be81a607918
2019-07-30 17:42:36 +03:00
levlam
bcacb2c31c Improve Td closing.
GitOrigin-RevId: 9111edb11ffe14ee9fa80942a4201fec94641b56
2019-07-24 00:15:49 +03:00
levlam
98b8929932 Fix includes.
GitOrigin-RevId: 7b62de39f2d62ac8c14c24fb83041c717ba49873
2019-07-23 01:50:12 +03:00
levlam
4a2b76e1ef Fix testProxy.
GitOrigin-RevId: fcce1611113bec089ac3ca20df56eba85895a753
2019-07-23 01:13:20 +03:00
levlam
410d81c55f Remove ProxyInfo class.
GitOrigin-RevId: f5bc2e82ef1017628b11fe9a0d04e75a08f77c25
2019-07-22 14:32:21 +03:00
Arseny Smirnov
dfe761738f testProxy: fix HandshakeActor errors handling
GitOrigin-RevId: 4a80a500c84302d2bef699a7d49a496d4f07945a
2019-07-22 14:22:31 +03:00
levlam
5de928006b Fix GCC CE and warnings.
GitOrigin-RevId: 21c7aa0f95f6534c8d8f1515fc93c67b55bb7998
2019-07-22 07:05:50 +03:00
levlam
79a38df824 Add actor_name_prefix to prepare_connection parameters.
GitOrigin-RevId: fbfb40411a16c0609a8bd926f2b4f3428e43cd25
2019-07-22 05:55:01 +03:00
levlam
92201f904d Remove proxy IPAddress from ProxyInfo.
GitOrigin-RevId: 1c83e4dc45c3186e887a9922fa77e6b25612c3be
2019-07-22 05:42:19 +03:00
levlam
feb2beeec0 Fix testProxy.
GitOrigin-RevId: 6ad0bf0e7685ccae35931c4949ba29bafbcc6335
2019-07-22 05:04:18 +03:00
Arseny Smirnov
4079363f1a td_api: TestProxy query draft
GitOrigin-RevId: 67944e916813c6260df5be6cb4e77f7163854738
2019-07-20 15:13:36 +02:00
levlam
6dd2a822ad Cache backgorund by their names.
GitOrigin-RevId: 2e5c5ed30185f53240ab806f866bd4c83ee5da51
2019-07-19 05:34:49 +03:00
levlam
b1347c3226 Add separate authorizationStateWaitRegistration.
GitOrigin-RevId: 1e41124d6174e956ce74266c9140ad346cf8a6f0
2019-07-16 22:08:34 +03:00
levlam
5de81015ad Add connection_parameters options.
GitOrigin-RevId: 68ad956881c53ea9ee7ca529947737b2d55b585a
2019-07-15 21:37:45 +03:00
levlam
64517c9165 Fix checks for additional data at the end.
GitOrigin-RevId: 66067600bec585ad2c310c7adc263a5e88232653
2019-07-11 03:12:27 +03:00
levlam
c874b1d4b1 Add support for separate background for dark theme.
GitOrigin-RevId: e5315453db1a7388f240dbefd4eeac6d8c9929c8
2019-06-18 01:39:57 +03:00
levlam
4c781ebb7b Update layer to 98.
GitOrigin-RevId: 7bc09a6ec637f12b2f90bc1fb6d82903feffc376
2019-06-08 12:26:35 +03:00
levlam
0cdac3fd83 Add td_api::getEmojiSuggestionsUrl.
GitOrigin-RevId: 5e69942a3996e6e7354567b658eabcb32ccb1b4b
2019-05-21 22:44:13 +03:00
levlam
b59abdc9f7 Add td_api::searchEmojis.
GitOrigin-RevId: 01540620ce3e0d7e64cb1ec409774a003cfd42e9
2019-05-21 18:48:35 +03:00
levlam
acc17b8d9d Minor fixes.
GitOrigin-RevId: 3861e74381386cff82d688a445de3e8f72494974
2019-05-14 17:26:13 +03:00
levlam
784aaa13d4 Support auto-download settings.
GitOrigin-RevId: f1c41293278fc565777311b0452acdfabb6fdcd9
2019-05-14 02:03:05 +03:00
levlam
abc59be319 Add td_api::resetBackgrounds.
GitOrigin-RevId: 9ed830d56b31f0c26ba83245f0c53fb2f20fe8da
2019-05-12 04:10:18 +03:00
levlam
a156f3dee6 Add td_api::removeBackground.
GitOrigin-RevId: f4a2e293f003207a7f224de7fc8dd3de04a9f942
2019-05-10 23:55:26 +03:00
levlam
db2ac0ed98 Support td_api::updateSelectedBackground in getCurrentState.
GitOrigin-RevId: 06352042ba464af8fc66101e53f51e905dadbd3b
2019-05-10 19:04:14 +03:00
levlam
652d2a9570 Add td_api::setBackground.
GitOrigin-RevId: e0c38213b41942ed8a5163ca7eb4ea61caa71d7b
2019-05-10 15:36:37 +03:00
levlam
e25933305d Add td_api::searchBackground.
GitOrigin-RevId: 3bd7fe3da8e8919b02669f7c7bb76e3252c000d3
2019-05-07 18:21:57 +03:00
levlam
d8f95c3ea0 Add td_api::getBackgroundUrl.
GitOrigin-RevId: d9f55ce5f4d6630795fc269b3c19045376393d84
2019-05-07 17:10:20 +03:00
levlam
85dd77b02c Initial background support.
GitOrigin-RevId: 14d3a1166f837069c55f40036a633295600524ca
2019-05-07 05:51:56 +03:00
levlam
68b2d10fdb Add td_api::phoneNumberAuthenticationSettings and support automatic code retrival from SMS on Android.
GitOrigin-RevId: f97bd5bf3eb7449da1b14242fa47537801657b04
2019-05-03 05:44:59 +03:00
levlam
c636408a7a Remove unneded mutable specifiers.
GitOrigin-RevId: 528550993874adb2ff29f9f88273339937919c8b
2019-03-20 21:13:45 +03:00
levlam
9b8a5438be Add td_api::setChatPermissions.
GitOrigin-RevId: ce072b20283e5a1887bd94fea33ad4d0cb4ec5b9
2019-03-20 20:58:13 +03:00
levlam
ed3e4b7d67 Add basic group description support.
GitOrigin-RevId: 030f1a2c149fd085f90a4153e7c76a6adb14e00c
2019-03-18 05:24:25 +03:00
levlam
3ecf990ad6 Update layer to 95.
GitOrigin-RevId: 0d6b470b6ca6f72b5b87fbd899aaeae8892f8834
2019-03-15 16:52:55 +03:00
levlam
e8a77c6ff2 Improve logging.
GitOrigin-RevId: c8b36adceffd8e4d47d6c59a81703681bed6997b
2019-06-06 20:26:11 +03:00
levlam
16a209cef0 Use some unused Status responses.
GitOrigin-RevId: b49d15a22918169b5e1a212e5858dc2e9bd2033e
2019-04-28 15:00:06 +03:00
levlam
1b7022e8ff Add Td explicit destructor.
GitOrigin-RevId: aa7d2ee90a43bc0cf1bb003c7fb48735fcaf6a82
2019-04-27 01:21:08 +03:00
levlam
8b4af163e8 Split Td::init method.
GitOrigin-RevId: 5c15533bed9bf981474fa9bcbf3234cdde9ae9dd
2019-04-26 22:44:32 +03:00
levlam
ccfc5337f8 Add td_api::writeGeneratedFilePart.
GitOrigin-RevId: 2dfcba1d5f14dfd5e701ac02d3a8fc96090a00f2
2019-04-26 03:18:00 +03:00
levlam
be06d10b39 Add td_api::readFilePart.
GitOrigin-RevId: 8d44ecfa62dc39d288232248e6db5aad82870729
2019-04-26 01:03:31 +03:00
levlam
b0329188e1 Add missed checks that methods can't be called by bots.
GitOrigin-RevId: fe43ee49d12f07cae8a30a66bdb956d4064fec25
2019-04-23 03:09:00 +03:00
levlam
e47f1d6947 Add ignore_background_updates option.
GitOrigin-RevId: cefa2fd658d1e0426bd319db2f033b0506e0f8de
2019-04-21 21:17:11 +03:00
levlam
ad9ff1e221 Update default value of message_caption_length_max option.
GitOrigin-RevId: ed682441f00cb37d13efdf9931987b3b8dc6e7d6
2019-04-21 02:25:40 +03:00
levlam
7dddc07dfe Add drop_notification_ids option.
GitOrigin-RevId: f246e68de2b01d0152b71e774da58de44740355d
2019-04-21 00:07:02 +03:00
levlam
651172ed85 Add is_dark parameter to getChatStatisticsUrl.
GitOrigin-RevId: f2381e8df342efa288fa191df27a79a799f972e2
2019-04-20 20:49:21 +03:00
levlam
896e44ac94 Add source to remove_notification.
GitOrigin-RevId: 217f967c61005275e5582ae0705b3b24fc8a73c2
2019-04-19 01:52:15 +03:00
levlam
2ee75b769c Add additional check for is_bot before sending terms of service request.
GitOrigin-RevId: 975ece32f0a7f31cd1b0021b414cc7cf17b907bf
2019-04-18 18:18:20 +03:00
Arseny Smirnov
c1d94fc821 experimental td_api::getDatabaseStatistics
GitOrigin-RevId: ed4e39caef210a14e1c72f0660690ffd7e974aff
2019-04-17 12:17:51 +03:00
levlam
801dbc8f6f Add td_api::addLogMessage.
GitOrigin-RevId: 7ad16cacd59eef90bcd5f55729847d4699bbff64
2019-04-13 21:40:31 +03:00
levlam
af39698707 Add reply_markup to stopPoll.
GitOrigin-RevId: 08cf68d42ecc6c25cd8ec7146fb7e3b1856a7207
2019-04-12 02:10:33 +03:00
levlam
c435360799 Add more td_init logging.
GitOrigin-RevId: 98b5a8e3234ec57cb24d833c726c6d1c2d938992
2019-04-11 23:24:39 +03:00
levlam
48a15fb0d3 Rename getPrivateMessageLink to getMessageLink.
GitOrigin-RevId: ae6ec6b2bf9eb5926395bc2e1298b231e42d26c1
2019-04-08 04:50:26 +03:00
levlam
2082c09757 Add td_api::getPrivateMessageLink.
GitOrigin-RevId: b621bbe7aeed8b3c0e33bfcc3beb51826dc34ea8
2019-04-08 02:42:16 +03:00
levlam
28351e8529 MAke push notifications persistent.
GitOrigin-RevId: 3cb231596e1f75a8157db48880e48f542c0b811d
2019-03-31 04:30:25 +03:00
levlam
dc55024596 Fix zero download limit.
GitOrigin-RevId: 5185e61a5e748816953592cdb843af698f902b17
2019-03-27 23:54:34 +03:00
levlam
1c47a8aa78 Update layer 91. Add revoke to deleteChatHistory.
GitOrigin-RevId: a6190c72e82994f21669684b2af227d2cfbed794
2019-03-27 23:17:41 +03:00
levlam
db66ddf0be Add possibility to download files synchronously.
GitOrigin-RevId: 2b633fcc06a8d8770a6fb31a0d0bd9dac971df9e
2019-03-27 21:43:46 +03:00
levlam
5d00a38046 Do not delay notification removal updates requested by the user.
GitOrigin-RevId: 7ca24f9da47239c9596e0bec1143b15ae8327bac
2019-03-27 01:07:32 +03:00
levlam
7fe4ebfc24 Fix calling td_api::processPushNotification before authentication.
GitOrigin-RevId: f19936055c350dba826f631c42255647cbb7f4a2
2019-03-26 22:02:48 +03:00
levlam
8a5d186e34 Remove processDcUpdate in favor of processPushNotification.
GitOrigin-RevId: 7cc785061bd6915cdbf16be4f000992b9e720de0
2019-03-26 03:29:09 +03:00
levlam
db927675bc Fix misprints.
GitOrigin-RevId: 74637920537fd9a03a79e8cf783e51a1b910551c
2019-03-24 22:05:06 +03:00
levlam
0c89d34007 Use correct update date for typings; ignore too old typings.
GitOrigin-RevId: a1dc65a74bfbc8519591b0ca6739cf04ad58b2bc
2019-03-15 03:16:44 +03:00
levlam
3e0fb81e09 Bring users online locally after typing or sending/editing a message.
GitOrigin-RevId: 2bc4e0c29083f1dca6277498118f1dd6932ccda3
2019-03-15 02:29:36 +03:00
levlam
692f9fcf1a UpdateChatOnlineMemberCount fixes.
GitOrigin-RevId: ba2ab62da3e665e8e48427bd7607e423aa18e32f
2019-03-12 23:46:43 +03:00
levlam
5707d5b277 Handle null static requests.
GitOrigin-RevId: 4247e69ad556693fdc0084b244c4bb9804a8cc1a
2019-03-09 18:30:25 +03:00
levlam
8fcb64e579 Compare local settings in getChatNotificationSettingsExceptions.
GitOrigin-RevId: e0ad2683e85f1a2d74206da01dfc9e60248e611d
2019-03-05 17:15:17 +03:00
levlam
bb5ffc0c8c Channel statistics support.
GitOrigin-RevId: 39d17de81087c9789b6c717cf1ed5f01edc6360b
2019-02-26 23:37:59 +03:00
levlam
f3be5d6534 Return PasswordState from confirming recovery email address methods.
GitOrigin-RevId: 0f897eeac6b09dd6edcfe1237226e7df7116a175
2019-02-25 21:37:26 +03:00
levlam
b574f6a6c9 Fix preauthorization requests documentation.
GitOrigin-RevId: 0bf2bdb5cc50bcff2477884f8ad6c3ea1b614c1d
2019-02-23 21:32:20 +03:00
levlam
0e045bda6e Add td_api::synchronizeLanguagePack method.
GitOrigin-RevId: a5ebac7c658c30c0e760f0176cddf6424348c6e9
2019-02-23 20:27:14 +03:00
levlam
168add9006 Add td_api::stopPoll.
GitOrigin-RevId: f2d9b5d42e267b9d06591450d69efb323639bb66
2019-02-22 18:09:55 +03:00
levlam
93494cf048 Fix log messages style.
GitOrigin-RevId: f99e2e838220826d3dea7fdc33c43ac9918a5efd
2019-02-21 18:58:20 +03:00
levlam
2e144e6e3e Add setPollAnswer logevent.
GitOrigin-RevId: e73a3c5af859053fa9210eec2874077f47b00a12
2019-02-21 17:40:37 +03:00
levlam
b852bd145f Add td_api::setPollAnswer.
GitOrigin-RevId: 40c409ea8b4bba6d1ee0137a5cab8dca889d71dd
2019-02-21 15:23:05 +03:00
levlam
d22dfb2a0c Rename poll answers to options.
GitOrigin-RevId: bcb2b9f6b29b58a3460df18773148eb426935664
2019-02-21 03:52:58 +03:00
levlam
5ef99afec7 Add messagePoll support.
GitOrigin-RevId: 41b93b2708285e4051fc01b856aa14a8c8c5c692
2019-02-19 16:45:32 +03:00
Arseny Smirnov
206fbc0686 downloadFile: add limit:int32
GitOrigin-RevId: 395d29e8383db5c54a3f85a555c4e9648546ef47
2019-02-18 22:08:05 +03:00
levlam
5d1f93c1c5 Add PhoneNumberManager.h.
GitOrigin-RevId: 7823601e61375efd9e7166add8028d3f5ee6ad1f
2019-02-16 19:01:47 +03:00
levlam
d98aaa571f Add td_api::getChatNotificationSettingsExceptions.
GitOrigin-RevId: f2ea5ced7cb2c62841dd961c4ce433f39c202f92
2019-02-14 21:44:20 +03:00
levlam
fa89033923 Support getOption for "disable_contact_registered_notifications".
GitOrigin-RevId: 5bcfaab65cc7a25fcb8c99ceb8e6fe9c01b714e1
2019-02-14 19:21:54 +03:00
levlam
ec692e98e4 Remove some errors logging while closing.
GitOrigin-RevId: 65e4ca3d0748b4d59511d9024e2eff1367e13cf7
2019-02-14 18:36:16 +03:00
levlam
ab2c23c220 Support server-sde setting for disable_contact_registered_notifications.
GitOrigin-RevId: 963ff137b495bf8784ac434ed76ee165fe918bfc
2019-02-14 18:25:31 +03:00
levlam
a919bfa358 Add td_api::getLanguagePackInfo.
GitOrigin-RevId: 39615978013653178881b584873e04a934fc95b0
2019-02-12 04:15:45 +03:00
levlam
b9b8c24717 Add td_api::addCustomServerLanguagePack method.
GitOrigin-RevId: b1c19ffddf8f0e8c89a602d217b0797f2df8b619
2019-02-11 21:53:10 +03:00
levlam
350e7fd6fc Support new languagePackInfo fields.
GitOrigin-RevId: ad99afe9694458448fddc84803a8beeb33a64a70
2019-02-11 20:57:35 +03:00
levlam
9995e9aa5b Base language pack support.
GitOrigin-RevId: 165941c5074e49f66e5f5aeded77ca0372a0ab3f
2019-02-11 03:45:09 +03:00
levlam
eb7268f393 Support resendRecoveryEmailAddressCode.
GitOrigin-RevId: 598b28a56b44640d2f693b9dc26369931b070b16
2019-02-10 23:32:49 +03:00
levlam
de9f167bff Add checkRecoveryEmailAddressCode method.
GitOrigin-RevId: 9601d8227586f988dae26ffb230c6f12f0196193
2019-02-10 23:16:52 +03:00
levlam
591576e6a4 Support pinned messages in private and basic group chats.
GitOrigin-RevId: b08ba37a6b27f871e394b5e4ac1864766f046134
2019-02-01 15:19:32 +03:00
levlam
7542612098 Fix some includes.
GitOrigin-RevId: 47d6bcd57e12314cc46c8f23ef10c10cea04fdcb
2019-01-31 05:05:40 +03:00
levlam
996869d4ca Implement store/parse FileSourceId.
GitOrigin-RevId: ff0d80bf2a8d479dae0cdca2c806a9731ff499d9
2019-01-31 00:37:38 +03:00
levlam
c958bd5b7c Add FileManager::cancel_upload.
GitOrigin-RevId: d6db4e90fbe361ed2c90e509fe3aa609df5988e6
2019-01-25 04:52:38 +03:00