tdExecute function
Synchronously executes a TDLib request.
A request can be executed synchronously, only if it is documented with "Can be called synchronously".
event
is synchronous TdFunction request to TDLib.
Implementation
TdObject? tdExecute(TdFunction event) {
final req = json.encode(event);
final res = TdPlugin.instance.tdExecute(req);
return convertToObject(res);
}