tdJsonClientExecute function
Synchronously executes TDLib TdFunction event
. May be called from any thread.
Only a few requests can be executed synchronously.
Implementation
TdObject? tdJsonClientExecute(TdFunction event) {
final req = json.encode(event);
final res = TdPlugin.instance.tdJsonClientExecute(req);
return convertToObject(res);
}