td_execute method
Synchronously executes a TDLib request.
A request can be executed synchronously, only if it is documented with "Can be called synchronously".
The returned pointer can be used until the next call to td_receive or td_execute, after which it will be deallocated by TDLib.
\paramin
request JSON-serialized null-terminated request to TDLib.
\return JSON-serialized null-terminated request response.
Implementation
ffi.Pointer<pkg_ffi.Utf8> td_execute(
ffi.Pointer<pkg_ffi.Utf8> request,
) {
return _td_execute(
request,
);
}