Commit Graph

3515 Commits

Author SHA1 Message Date
levlam
da4694bc81 New polls support fixes.
GitOrigin-RevId: f5421227029a8ae1f9284882e6f6221617002925
2020-01-14 01:51:03 +03:00
levlam
6d15cc7bf0 Add updatePollAnswer.
GitOrigin-RevId: 472f91830667f52317f03636f3ab2c37bca32d43
2020-01-13 22:56:59 +03:00
levlam
656fda701f Allow bots to send polls to private chats.
GitOrigin-RevId: c1e274b1f0b8a7c7eec8edc304976f8b07b25164
2020-01-13 21:26:58 +03:00
levlam
4e22f29c53 Add td_api::getPollVoters.
GitOrigin-RevId: 47ad78287433a2efb9b66f18a960e4de6060842a
2020-01-13 21:21:58 +03:00
levlam
f2211527db Add support for recent poll voters.
GitOrigin-RevId: f4260d87ae4a22d56b2024c07713ceeb37203895
2020-01-12 04:40:17 +03:00
levlam
a7501e1582 Update layer to 109. Add new poll types.
GitOrigin-RevId: cc82f1bfdf1d4cd906212009f2dc8d84e0cb543a
2020-01-11 03:46:26 +03:00
levlam
0f35cb04fd Update to layer 108.
GitOrigin-RevId: 31a6f84047b1d4e21b466bb32548e61e11d0d194
2020-01-10 02:47:56 +03:00
levlam
92c9149e30 Add debug logging.
GitOrigin-RevId: b67b034ffa59ab24c18c4c1fd782946b13ffb86b
2020-01-12 00:19:43 +03:00
levlam
1571cdcad5 Fix build instructions generator.
GitOrigin-RevId: 1d89c2864b063bd196b1fd6272ad8291ed8a5a20
2020-01-11 03:55:22 +03:00
levlam
e9176ce84d Improve secretChat.key_hash documentation.
GitOrigin-RevId: bcf910be5b7eb08f4edca13c428b94f9a5fbf7ac
2020-01-11 03:54:29 +03:00
levlam
e09a295f7c Fix compilation error.
GitOrigin-RevId: ce8f9f5c1a28e69b716fa1b2427a1337436840e0
2020-01-11 03:51:44 +03:00
levlam
13dce473eb Safer saving of invite link info.
GitOrigin-RevId: 40c122f1dceb2bbc5f2bd9e6204393ce5c694340
2020-01-10 02:04:06 +03:00
levlam
1703cee349 Common base64_decode implementation.
GitOrigin-RevId: 87bdf798a181799b2f51be9831d77fabf41e3820
2020-01-09 22:59:08 +03:00
levlam
09d359cdc4 Use exact size formula in base64_decode.
GitOrigin-RevId: 7515474fc70af351e7b886e870b0d3da453afdc8
2020-01-09 22:21:20 +03:00
levlam
7db7757d2d Simplify base64url_decode implementation.
GitOrigin-RevId: 873483e61cc54fad78a09aa8a143070c5e018dfb
2020-01-09 22:07:23 +03:00
levlam
529f925d40 Common base64_encode implementation.
GitOrigin-RevId: ed4f31cfc6f83e81f03bd8e71dc8d48ced530255
2020-01-09 21:05:43 +03:00
levlam
9ea68914cf Use get_character_table to get base64 char_to_value table everywhere.
GitOrigin-RevId: 192840280c280a82a1cb2f1eba9fb9983f6ffe52
2020-01-09 20:45:38 +03:00
levlam
d6dca91ff3 Add is_base64_characters functions.
GitOrigin-RevId: 5b3e8642e9d9788788ee1343af4eee9acf7dddc9
2020-01-09 20:18:53 +03:00
levlam
5551021c81 Fix textEntity documentation.
GitOrigin-RevId: 6c55ec6d264c2da448ffbb9ed14a0741027fadc4
2020-01-09 18:16:03 +03:00
levlam
440d44e4a2 Update documentation.
GitOrigin-RevId: dcce8f16d33a14600059cf7119752223610e9de3
2020-01-09 17:08:14 +03:00
levlam
fc7253e774 Fix key_hash documentation.
GitOrigin-RevId: ddf094758f4130c276d12a9b809f3dc997d09421
2020-01-09 04:31:27 +03:00
levlam
53da415b5c Send updates for "unix_time" option.
GitOrigin-RevId: 08f48634a02602060d55b8b8628e20d7d2618381
2020-01-08 23:41:03 +03:00
levlam
1b1bd481e3 Make all AuthKeyHandshake fields private.
GitOrigin-RevId: 73bc8e67b5c86a4f30cabde16f84395b47d7f79e
2020-01-08 20:30:07 +03:00
levlam
89d7374272 Temporarily disable CDN if streaming is enabled.
GitOrigin-RevId: e6479f76a1a226d27268744421a904b4849edf17
2020-01-08 20:15:49 +03:00
levlam
cef4c7da3f Minor improvements.
GitOrigin-RevId: 337bd7bca79324b0159fca503686ae759430dd1d
2020-01-08 20:05:08 +03:00
levlam
dcb15d0a13 Asynchronously reload emoji keywords languages after restart.
GitOrigin-RevId: 1f24d44c715d96aead91402fdc7f6d7abf04d041
2020-01-08 19:25:36 +03:00
levlam
3659757dc3 Add parameter searchEmojis.input_language_code.
GitOrigin-RevId: c0cc78cb2957c9b9be4c3310a0505d08f6189006
2020-01-08 19:07:40 +03:00
Arseny Smirnov
efc483551f Bugfixes in auth key validation
GitOrigin-RevId: 66c2002e3ccb48c333c580715dc3517665f57b1f
2020-01-08 15:54:42 +00:00
levlam
4922ae62e0 Return back HttpQuery in get_simple_config_impl.
GitOrigin-RevId: 391c0c8cdd74633e57bc0780e1060c561468417a
2020-01-08 17:42:55 +03:00
levlam
37cab6d1fc Do not unload last edited message in the chat.
GitOrigin-RevId: d8a5f8053f8d0ef6bd86f503a456f6631a5f9d9e
2020-01-08 04:34:15 +03:00
levlam
724f2644e1 Check main auth_key improvements.
GitOrigin-RevId: 5a8e0d8cd0d15451f0ade9ed20bdc09926ad45ed
2020-01-08 02:09:22 +03:00
levlam
63f167ac35 Better field names,
GitOrigin-RevId: 93d307c55f9801d78fa68413cbbf238925a351b1
2020-01-08 01:27:12 +03:00
levlam
eecb70d006 Minor fixes.
GitOrigin-RevId: b8276b548fca9ede4bd2caf27bd45ccc54c93dda
2020-01-07 18:16:57 +03:00
Arseny Smirnov
890855a4f0 Validate and drop invalid main authorization key
GitOrigin-RevId: 5f5a0baf4fc55b629b6e0534c475f6236cc72506
2020-01-07 15:42:04 +03:00
Arseny Smirnov
ad3a1a35c5 Update stats on proxy errors
GitOrigin-RevId: 0c258335f5b3cd540edd5f8adf95befc29bf91bb
2020-01-07 11:02:36 +03:00
levlam
81cb9da887 Make dh_config_mutex_ private.
GitOrigin-RevId: c2f44bef27d294ec992d35030a36a76855056f44
2020-01-07 03:55:51 +03:00
levlam
992e1144ca Remove unused Condition class.
GitOrigin-RevId: d82bd14425f46cd8b3ddde8ca50db15ed07ff9c9
2020-01-07 03:39:44 +03:00
levlam
f7caca6023 Remove unused wait_binlog_replay_finish.
GitOrigin-RevId: 3b48057703b70f8b4d9ec8b17b14ea75418bda4c
2020-01-07 03:38:10 +03:00
levlam
52651a2efb Add TDLib 1.6.0 Change Log.
GitOrigin-RevId: 9f5a70d5f4e6ad23fe21d544719a044fe5f612a4
2020-01-07 03:19:23 +03:00
levlam
3aaa58a8c0 Documentation improvements.
GitOrigin-RevId: 97c207980ea1265ebc5c4421a7bd22d77553f2f5
2020-01-06 21:44:09 +03:00
levlam
bd78bbdd5d Improve documentation.
GitOrigin-RevId: f0266fb33bf5e01fb68bea83785a5cc020205d31
2020-01-06 21:32:03 +03:00
levlam
dbc2e30eff Do not send updateChatActionBar about nonexistent secret chats.
GitOrigin-RevId: 64fe7ef6e66612428fa6b65ed68e89c3de9eab4c
2020-01-06 20:44:21 +03:00
levlam
2dea8aea06 Fix code duplication.
GitOrigin-RevId: 8b4784e364d1e4d016a22bc6806bf732d5d5ac7a
2020-01-06 20:40:58 +03:00
levlam
2635dfb53c Specify exact emsdk version in tdweb README.
GitOrigin-RevId: c04d31f9b91d1bdaee31643966f851e25448eb81
2020-01-06 19:30:40 +03:00
levlam
a06f02b747 Fix misprint.
GitOrigin-RevId: e7bcfcd2ada1b78906d5e5f9228e920be2a00a8c
2020-01-06 18:02:42 +03:00
levlam
b88730f635 Better logging.
GitOrigin-RevId: d5aa21fee3d0f9af6fdec13df45c7352850b8b86
2020-01-06 17:54:16 +03:00
levlam
c627c79b6a Improve logging.
GitOrigin-RevId: 4c5be88bb5f89b50ca1872a8a6686b777fe8aaa2
2020-01-06 04:45:05 +03:00
levlam
fe28551d4c Do not allow time to go more than 1 year forward between restarts.
GitOrigin-RevId: 1240b52520431f62249364b718840b7e45c886c7
2020-01-06 04:23:59 +03:00
levlam
a6be36e7f2 Always save temporary files in unique directory to ensure that all of them have different paths,
GitOrigin-RevId: 7113952a085f34a04eac38646f5a7a403bf9e9ba
2020-01-06 01:31:28 +03:00
levlam
8a1d035d1a Fix check of poll question and answers length.
GitOrigin-RevId: 4b9f75b8ca58f609d07f0aa73370bc893d3bc120
2020-01-06 00:32:26 +03:00