Commit Graph

794 Commits

Author SHA1 Message Date
levlam
c0944f6bda Continue to load terms of service after they are accepted.
GitOrigin-RevId: c7dadcea4bf8b61f3d428999e034572c67ef8b3f
2018-06-09 02:00:15 +03:00
levlam
69a3eecbcc Fix getTermsOfServiceUpdate for bots.
GitOrigin-RevId: 177f5362015dd78e8ef94cbbfc57b8dd49984655
2018-06-08 19:20:09 +03:00
levlam
53f7e0cedf Terms of service update support.
GitOrigin-RevId: 3c4c34def98e06e9b6da5102614f797046ff0921
2018-06-08 01:19:34 +03:00
levlam
a72494d721 Support Terms of Service.
GitOrigin-RevId: 389c4ba590a4feb34ac6d801f9097291e87423d8
2018-06-07 21:42:17 +03:00
levlam
56a2cac6ba Update layer to 81.
GitOrigin-RevId: c6579e02edaff656ab17b3d94695cab8c7960b2d
2018-06-01 23:15:13 +03:00
levlam
8750c7a41a Better suggested name for sticker thumbnails.
GitOrigin-RevId: 5372a13825f558e47ee84bfaa705af6a9b587298
2018-06-01 01:23:07 +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
5eea3d9c37 Update InitConnection request.
GitOrigin-RevId: b9785bf56bd4cb9c44c5a91f3cb07d2352bc6ca2
2018-05-22 14:09:58 +03:00
levlam
cb6c46071e td_api::getProxyLink.
GitOrigin-RevId: 0d876446bbbb22467c452b088f4df24e7e1624a2
2018-05-17 21:08:51 +03:00
levlam
f060f7da91 Remove CHECK_AUTH macros.
GitOrigin-RevId: 7560713096bfbf3a4c3ab1520961f3e190bfed95
2018-05-16 22:47:42 +03:00
levlam
67c00e02ea Complete pending preauthentication requests.
GitOrigin-RevId: 8e9b2ec7f8ba8e298f8d95ad7135f7607d440c2f
2018-05-16 22:35:27 +03:00
levlam
29ab63d063 Fix canceling alarms before init.
GitOrigin-RevId: 4ef53a7838c58b6bef1923f97cc0a2cc98786ef0
2018-05-16 18:40:26 +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
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
5b1b1273b4 Implement calc_new_unread_count_from_the_end and repairing of server unread count.
GitOrigin-RevId: e11417e08db93814f3093677c60482fb14acbc53
2018-05-02 13:30:52 +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
8cb1a682cc Ignore negative cache in getWebPageInstantView.
GitOrigin-RevId: 3d4b5f4db209e6c82ed576360ef5867f2c85b9a7
2018-04-22 20:26:00 +03:00
levlam
9319cb981e Update layer 78. PassportDataError support.
GitOrigin-RevId: 78d92384a464818fbdff3e76d9c4cdf8367b4545
2018-04-17 18:04:09 +03:00
levlam
7a570572f8 Add debug.
GitOrigin-RevId: 62c48a35f4a1c442e4d6dce71fcf5e02b2bdbd8e
2018-04-13 00:09:50 +03:00
levlam
4a3784155a td_api::getDeepLinkInfo.
GitOrigin-RevId: edcedaeeaeb54802bb2830343e43ab095f92acaf
2018-04-12 23:51:42 +03:00
levlam
a7548d234c Minor fixes.
GitOrigin-RevId: 9ccb8914fb517b2c3fdba7b40b3bb7ac104e8da7
2018-04-12 00:18:03 +03:00
levlam
aa146b77b8 Add Td::create_ok_request_promise.
GitOrigin-RevId: 13513878b18ba56ca2e80915dbb1b595d1c87619
2018-04-11 21:13:46 +03:00
levlam
bc193a97bf Various fixes.
GitOrigin-RevId: ec2af1bd18e337425dd6a9287e8d08bbce88eed8
2018-04-11 20:42:06 +03:00
levlam
d7d91bbaf3 Update layer 78: new notification settings API.
GitOrigin-RevId: affa0a97035b69e2f710b289f300139e7b41d116
2018-04-09 19:30:27 +03:00
Arseny Smirnov
8a1ca6355b Email address verification
GitOrigin-RevId: cfa1dc92428377a06a0a043321ae6bb3e94c5309
2018-04-09 19:04:21 +03:00
Arseny Smirnov
ed4a90a717 Phone number verification
GitOrigin-RevId: f20d2a822de49eaa558fcf0cd8ecfbfb8b3f75b8
2018-04-09 17:20:12 +03:00
levlam
baa334544b More fixes.
GitOrigin-RevId: 587cca0a2e3a87c117fa78d59c81d61815e2756d
2018-04-07 02:38:28 +03:00
levlam
775c2eea25 getAllPasswordData and various fixes.
GitOrigin-RevId: e423dfdaf97b06f0067bda3d1fb847869697234f
2018-04-07 01:29:36 +03:00
Arseny Smirnov
0eee63b723 sendAuthorizationForm (with bugs)
GitOrigin-RevId: e68b57a2f6ff2e117913c40779cc9473153828ab
2018-04-06 22:37:30 +03:00
Arseny Smirnov
2f5ca11592 getAuthorizationForm
GitOrigin-RevId: 3b432a32cb4af7a35dc7d000e8cfceed97400c1d
2018-04-06 16:24:29 +03:00
levlam
353cfb3196 Fix td_api scheme.
GitOrigin-RevId: c4eb552d8abb33932f649db9c8809570ea46cd71
2018-04-06 20:43:15 +03:00
Arseny Smirnov
09600304b9 SecureManager
GitOrigin-RevId: 6728500e0f00dd7b739e862e715a43a4c7eae8e2
2018-04-05 14:18:47 +03:00
Arseny Smirnov
5e79712797 set/get passport data
GitOrigin-RevId: 4fe8b44738ac91524a0d286db5d33d338b5b75e8
2018-04-03 20:49:07 +03:00
Arseny Smirnov
fb79d6f95a Layer 78. Initial Telegram Passport support.
GitOrigin-RevId: 197994bcf62a76cd963f32a8dd7f5951d7b6588b
2018-03-27 16:11:15 +03:00
levlam
ea2afdf9a6 Fix td_api::close and td_api::responses.
GitOrigin-RevId: 43c3e6cbec56c8ce69abaaa1cf8aec7221aa3f4c
2018-04-05 23:26:58 +03:00
levlam
96b6dfde3f Ensure that updates aren't sent after TDLib is closed just in case.
GitOrigin-RevId: 43777eda7a32dbe956d45685475fa2dae912f968
2018-04-03 03:08:17 +03:00
levlam
f8efdc7b9d Better td_api::addLocalMessage.
GitOrigin-RevId: be6a9d27d3d683fdd7c72bca6bb8ba080bdbfc0d
2018-03-27 17:55:33 +03:00
levlam
4e22261c6b Add td_api::addLocalMessage.
GitOrigin-RevId: 795a22f72cfd5edbfa901207045d3b92fac2d3ee
2018-03-26 23:20:56 +03:00
levlam
be48e787bc Update version to 1.2.0.
GitOrigin-RevId: 3f8e087ddc61c7a1aa2db5f51d954eba197d11b6
2018-03-19 16:49:39 +03:00
levlam
88d5e5e015 Exclude trending stickers from getStickers.
GitOrigin-RevId: 52655e51077a48ac2bea6320f2c4be0aa5c18127
2018-03-17 20:24:21 +03:00
levlam
6f1f64c892 Better local online status update.
GitOrigin-RevId: 941945d3e0b366e4fcd1ed7712f388422968cd28
2018-03-10 17:10:23 +03:00
levlam
7cb577dd6f Cancel previous update status queries.
GitOrigin-RevId: fcf23cf66267327faae001c69fa773cff84f4e88
2018-03-10 14:41:59 +03:00
levlam
6422e77e15 Load installed sticker sets before changing sticker set.
GitOrigin-RevId: f4794d3c65327aa173030f6e53aaccc23875aff0
2018-03-10 14:15:23 +03:00
levlam
2a58cfd1b9 Add td_api::searchStickers method.
GitOrigin-RevId: e9615b7e2cdab0b7419f6cfbbf2289787233a693
2018-03-09 20:04:44 +03:00
levlam
a4fe4c93b3 New stickers by empji suggestions.
GitOrigin-RevId: 6396bb77310fc86cec1cb6d4fd13b5e782ffd7a3
2018-03-09 18:00:07 +03:00
levlam
88ad4a370c Sort wallpapers by size.
GitOrigin-RevId: 497dc15ea3f6b8c5cd0bc0f2e6ce65a338d19b90
2018-03-09 16:56:42 +03:00
levlam
9633b50112 Postpone authorizationStateReady if my_id isn't known.
GitOrigin-RevId: afa8d365f527672dc53424b03fff775a28569189
2018-03-09 04:17:38 +03:00
levlam
8ae5083073 Better getMe.
GitOrigin-RevId: 31a9ceaa4727f74ef30cd95a44c2520249fea10b
2018-03-09 03:27:39 +03:00
levlam
5986bb7df0 Send updateOption("my_id") before authorizationStateReady.
GitOrigin-RevId: 73fdce38a87ffb6fcea8bfa8b059f83dcd510007
2018-03-09 00:42:25 +03:00
levlam
6669bd8c7b Support for recent_stickers_limit.
GitOrigin-RevId: f49119eb0703bb03e7c564a4f90a1f91f9c6074b
2018-03-08 16:49:45 +03:00
levlam
c35bc1c0fc Remove now unsafe FileId constructors.
GitOrigin-RevId: eb3e37f4056ff6b967e4fd3d9b310fdc0e7602a1
2018-03-07 02:37:39 +03:00
levlam
599c4bd4ae Fix CE.
GitOrigin-RevId: e156a9f49174de0a7f10bffd1eb093ef10572b63
2018-03-06 02:03:06 +03:00
levlam
17ea2cb2b6 Add td_api::searchInstalledStickerSets and td_api::searchStickerSets.
GitOrigin-RevId: 6abcb03bbbd79e3d1dc8156ac684de7100b85170
2018-03-06 01:44:11 +03:00
levlam
e4d76c43c3 Add td_api::getCountryCode.
GitOrigin-RevId: 361b261b17848c5052769e4a0b6ebaa3cc30e769
2018-03-05 00:36:16 +03:00
levlam
c1e3f2d65d Use new config constants.
GitOrigin-RevId: 6f0d02a9ca91e7db2d416eb89861080ff9f6f30c
2018-03-04 23:50:38 +03:00
levlam
b5036975b8 Allow to specify message_ids in td_api::reportSpam.
GitOrigin-RevId: c77dcd89e58c38ac218204230620513c2cdda60d
2018-03-02 19:21:43 +03:00
levlam
51135ccd1e Add td_api::checkChatUsername.
GitOrigin-RevId: 290255ad825b08484657e08bab5ffab70c61afde
2018-03-02 02:19:00 +03:00
levlam
fc7c618782 Return Chat in joinChatByInviteLink.
GitOrigin-RevId: ee8ad4f0de5001bad6519ab5f109ebb0f458f93a
2018-03-01 01:08:45 +03:00
levlam
1ac97a6ba7 Various fixes.
GitOrigin-RevId: 80fa34e64e6824a0f96c38d2e8b0a32455267ea8
2018-02-28 13:25:07 +03:00
levlam
b5f695de80 Fix crash on empty parameters in setTdlibParameters.
GitOrigin-RevId: 09ad208e356105af352134e1eabe6b30c95fdeb7
2018-02-26 12:59:46 +03:00
levlam
1a423c15bc Add Td initialization debug.
GitOrigin-RevId: 933972963ae38a19d68bf5371e7bf76dc308f097
2018-02-24 01:28:23 +03:00
levlam
c3fe3f97ec Accept formattedText in getWebPageInstantView.
GitOrigin-RevId: b9f2345eb170da6cbdbb6c70abf11fa682630802
2018-02-21 00:20:45 +03:00
levlam
20ffe41d80 Better errors for empty TDLib parameters.
GitOrigin-RevId: 166e4fe7208cae59959f49794e3a73602141f050
2018-02-20 00:20:47 +03:00
levlam
4cc9b7b34b Use send_closure for calling send_result/send_update in more places.
GitOrigin-RevId: 1b084e4e457d4c0a6d1a793557bf974e8a569f67
2018-02-17 01:00:22 +03:00
levlam
a6ab35e616 Replace std::max/min with td::max/min.
GitOrigin-RevId: 56fb21194e995cbb37b3ebb5caed689c10320b8d
2018-02-12 13:37:54 +03:00
levlam
f4069240e5 Periodically ping server by bots.
GitOrigin-RevId: 3e173e32d564f50c352b96a6ad2d04b7ec72af58
2018-02-11 21:33:32 +03:00
levlam
6e3cbf42dc Remove calls to Logger.printf.
GitOrigin-RevId: 3b5452fc4bd705ce5cf98d360247ec0146923e2d
2018-02-11 17:07:16 +03:00
levlam
c0223de330 Fix handling of requests with the same id.
GitOrigin-RevId: dd1a173c497139297fcff5197a3e9762674a8274
2018-02-09 18:59:13 +03:00
levlam
4614933a1e Fix closing Td before initialization.
GitOrigin-RevId: fcdb17b70d2dc0ac2f18dfe98aa3bb535ce50829
2018-02-09 13:29:50 +03:00
levlam
7c4ecdf650 Better getChatPinnedMessage.
GitOrigin-RevId: 092ac37109dd8e73182dd4b11a98ffe777841dc4
2018-02-09 01:54:39 +03:00
levlam
154022ebfe Update layer 75:
- Add connected websites support.
- Add flag supports_streaming to video and inputMessageVideo.
- Add new methods for message loading: getRepliedMessage and
  getChatPinnedMessage.

GitOrigin-RevId: 1dc5d367e27722fe9c8d2765f62ed80176eea2ce
2018-02-07 02:31:38 +03:00
levlam
3146ccee03 Fix binlog events applying order.
GitOrigin-RevId: f0e428a76e4ff0ff5f5ca99666710e0aa8ff2ee2
2018-02-05 03:26:04 +03:00
levlam
a9ed429205 Add source to get_*_id_object.
GitOrigin-RevId: 4d3016274a22be4a59ee088ad6f3d9c297128a08
2018-02-03 02:05:11 +03:00
Arseny Smirnov
15356c4402 Actor: always_wait_for_maibox flag
GitOrigin-RevId: cb048967998ffc585133d6a58c77674a17766049
2018-02-01 16:01:16 +03:00
levlam
536def0382 Fix has_input_media.
GitOrigin-RevId: f10ffc8116028849b3a0afc4ebf7169d707dd794
2018-01-31 12:18:40 +03:00
levlam
d7ecc96113 Update layer to 75. Support entities in captions.
GitOrigin-RevId: a633d5d57c52794da0fc1b6de04f4ff1a4ed00fd
2018-01-30 20:06:54 +03:00
levlam
4bfa015e84 Use send_closure_later in timeout callbacks.
GitOrigin-RevId: 21822d261a31900c94e2a37d3d3afa8240a49fc3
2018-01-30 09:16:25 +03:00
levlam
0e41d96335 Send update with unknown basic group/supergroup/secret chat when its identifier is returned.
GitOrigin-RevId: e3c0d7904f02b79abdcbf990db1bdcf8d67591e3
2018-01-27 16:57:59 +03:00
levlam
dc274ea3b5 Send update with an empty User for unknown users.
GitOrigin-RevId: 470184a7277bbce3855ecad8acf955369370ff76
2018-01-26 22:53:20 +03:00
levlam
55b16026c5 Optionally ignore EACCES in realpath.
GitOrigin-RevId: 8043b753ec748b6ff21accb5efde782047e5cd50
2018-01-26 16:47:46 +03:00
levlam
fe133efefc Allow to create chats without network request.
GitOrigin-RevId: f17bbe43c58246b6ab2bd48a746b00cae5cd1865
2018-01-24 00:45:26 +03:00
levlam
4a713beee1 Improve td_api::getPublicMessageLink: add possibility to get public link for media album, return HTML-code for message embedding.
GitOrigin-RevId: 1a7c774eec4dfde60d460d097be672120d3f9c54
2018-01-17 00:27:16 +03:00
levlam
57816d2b5f Add td_api::searchChatsOnServer request.
GitOrigin-RevId: 6fc14c6503adcd8146de5eba276280bbd867b809
2018-01-16 21:56:59 +03:00
levlam
d6fb230324 Add only_if_pending to cancelDownloadFile.
GitOrigin-RevId: 7280c353b4903e565c2e0a2557d50317f6f7c886
2018-01-16 17:41:47 +03:00
levlam
f856a383ad Do not return empty sticker sets.
GitOrigin-RevId: 987492861215c593f7d9b9a6d475f63dd07b6e5e
2018-01-16 15:42:51 +03:00
levlam
3eebb16020 Support other_user_ids in registerDevice.
GitOrigin-RevId: 7d14fc21be9ebb56f3d759746f6a11cd5bd78c87
2018-01-10 03:18:03 +03:00
levlam
2312c5e1a6 Do not update online status when closing.
GitOrigin-RevId: 0ebca2a7c14d44a5bc4945abe239efbeed18382c
2018-01-06 23:50:51 +03:00
levlam
5cbda834bd Update copyright year.
GitOrigin-RevId: 1369d3af1195221f6ddb9462d5f8b74fb5fef20f
2018-01-02 16:45:09 +03:00
Arseny Smirnov
71d03f39c3 Project import generated by Copybara.
GitOrigin-RevId: 318483224ad6164d9966f731d60cde37039bb2d4
2017-12-31 23:08:40 +03:00