onReceiveError property

void Function(Error)? onReceiveError
getter/setter pair

The event fired after receiving Error, the error parsed from td json raw string result: {"@type": "error", ...}

Implementation

void Function(Error)? onReceiveError;