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
..

TDLib Python example

To run this example you need to build TDLib and copy built tdjson shared library to this directory.

Then you can run the example:

python tdjson_example.py

Description of all available classes and methods can be found at td_json_client and td_api documentation.