Expand description
Process-wide native execution, receive tuning, and diagnostics.
These settings affect every client in this process. Configure them at
application startup rather than treating them as per-client preferences.
One lazily started receiver thread owns the TDLib receive stream and parks
when no clients remain. Do not start a competing receiver or invoke raw
receive functions outside this coordination.
execute is distinct from asynchronous Client::send:
only TDLib functions documented as synchronously executable belong here.
on_error receives malformed/unroutable unsolicited output. It is not a
subscription to TDLib’s internal logging stream; set_log_level only
controls that stream’s verbosity. Request errors still return to their caller.
Functions§
- execute
- Executes a supported synchronous
TDLibfunction and decodes its response. - on_
error - Installs or replaces the process-wide unsolicited-error callback.
- set_
log_ level - Sets
TDLib’s process-wide native log verbosity. - set_
receive_ timeout - Sets the maximum wait used by the next native receive call.