Commit Graph

38 Commits

Author SHA1 Message Date
levlam
d963044eb9 Update copyright year. 2024-01-01 03:07:21 +03:00
levlam
1a50ec474c Use tdjson.dll only on Windows. 2023-12-10 14:05:35 +03:00
levlam
0b1a1855a9 Use full path for tdjson.dll in Python example. 2023-12-10 13:13:07 +03:00
AYMENJD
7f8c3e8402 Fix checkAuthenticationEmailCode in Python example. 2023-02-04 12:46:34 +03:00
levlam
75bdc6292b Remove some getAuthorizationState usages. 2023-01-12 22:25:47 +03:00
levlam
cf1984844b Update copyright year. 2023-01-01 00:28:08 +03:00
levlam
a81d3768b4 Update Python example. 2022-09-08 13:11:08 +03:00
levlam
f6a2ecdded Inline tdlibParameters in setTdlibParameters. 2022-09-07 22:19:08 +03:00
levlam
287cceb162 Remove separate authorizationStateWaitEncryptionKey. 2022-09-07 21:27:23 +03:00
levlam
8085779cdc Update copyright year. 2022-01-01 03:35:39 +03:00
levlam
cbc7149824 Use only basic ASCII in Python example. 2021-12-28 04:06:45 +03:00
levlam
bfd2c6aa32 Use a decorator in the Python example instead of explicit cast. 2021-12-28 04:01:04 +03:00
levlam
84b1d32625 Set log message callback only for fatal messages in Python example. 2021-12-27 18:19:19 +03:00
Sebastian
505fed00bd Update python example: Use sys.exit for quitting
automatically sends the message to `stderr` and sets the exit-code to 1
`quit` is only for exiting the interpreter, use the recommended `sys.exit`
2021-11-18 17:04:28 +03:00
levlam
e31ec28c30 Python example: use td_set_log_message_callback instead of td_set_fatal_error_callback. 2021-05-18 15:49:21 +03:00
levlam
52c1da0a70 Update copyright year. 2021-01-01 15:57:46 +03:00
levlam
5eea5b7501 Rename create_client to create_client_id. 2020-11-15 01:13:11 +03:00
levlam
21f6ddc6fb Fix fatal error handler in Python example. 2020-11-15 00:41:29 +03:00
levlam
583a8f41d6 Python example: encode strings to UTF-8 before printing to mitigate possible encoding errors. 2020-11-13 23:49:33 +03:00
levlam
0e824976fc Use new JSON interface in Python example. 2020-11-13 21:23:32 +03:00
levlam
0877d7f716 Automatically detect operating system version.
GitOrigin-RevId: d693799fdbfe4919da5a70c141709f2db93063d7
2020-06-19 03:45:24 +03:00
levlam
5f5d3355e3 Fix checkDatabaseEncryptionKey usage in examples.
GitOrigin-RevId: 854debfb6f9ec64bc44a19200fdc2f72e39dc6f1
2020-03-25 00:59:38 +03:00
levlam
80c35676a2 Update copyright year.
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
2020-01-01 04:23:48 +03:00
levlam
b1347c3226 Add separate authorizationStateWaitRegistration.
GitOrigin-RevId: 1e41124d6174e956ce74266c9140ad346cf8a6f0
2019-07-16 22:08:34 +03:00
levlam
acc17b8d9d Minor fixes.
GitOrigin-RevId: 3861e74381386cff82d688a445de3e8f72494974
2019-05-14 17:26:13 +03:00
levlam
bf3e0b8457 Fix spelling in the Python example.
GitOrigin-RevId: 3fe2f1180dc32ef87fc05df0c40c9dd06365a10c
2019-05-23 03:46:02 +03:00
levlam
fca3eacf4b Remove deprecated functions for log managing from Python example.
GitOrigin-RevId: 76ce3b9dbd5b8d9d4d8f92fd3ee158cc8c8d6d12
2019-04-30 22:51:17 +03:00
levlam
234cf0d9f3 Fix Python example.
GitOrigin-RevId: 54082fb8743bdaa098b796fa0e505ce307dcf5d7
2019-04-30 20:27:31 +03:00
tallero
78e3033d2c Add events for signin process
Added the remaining steps to complete a signin.
2019-04-30 19:40:11 +03:00
levlam
abbb1a42a7 Static execute in JSON interface.
GitOrigin-RevId: 58748f011a6def1d81e11063e9a15f5a8750174e
2018-10-31 17:51:07 +03:00
tallero
101aa73f13 "==" instead of "is"
with "is" the condition does not get executed for me. Python 3.6.6.
2018-09-07 16:21:22 +03:00
levlam
f8b4968f1f Fix python example license.
GitOrigin-RevId: 164571fbb93a57f0e2fbe0deef7a9f6432d8c51b
2018-04-28 02:09:43 +03:00
levlam
e3d0534318 Add license to examples.
GitOrigin-RevId: 08a9ab881773d660229e5e5941ac9462156570b4
2018-03-11 03:43:55 +03:00
levlam
017ae5865d Add Python example README.md and add more documentation.
GitOrigin-RevId: 624fa5c37431dc3fabe6e451355c5b52ce12e4ab
2018-03-02 03:34:02 +03:00
levlam
a47d5d5511 Return whether Log::set_file_path succeded or not.
GitOrigin-RevId: a928f8691ebedfd7451bf8bd7957071786b50349
2018-01-28 19:38:59 +03:00
levlam
21285a11e8 Add example of td_set_log_fatal_error_callback usage to Python example.
GitOrigin-RevId: 1809f96a97a7ea84a4c21cbfec11b6f92667449f
2018-01-24 19:11:39 +03:00
levlam
cd0540e1c8 Use td_set_log_max_file_size in python example.
GitOrigin-RevId: 1f493bcc5c010f72221c1314b444e7e7b4c22ac7
2018-01-09 21:59:40 +03:00
Arseny Smirnov
71d03f39c3 Project import generated by Copybara.
GitOrigin-RevId: 318483224ad6164d9966f731d60cde37039bb2d4
2017-12-31 23:08:40 +03:00