td_execute method

Pointer<Int32> td_execute(
  1. Pointer<Int8> request
)

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<ffi.Int32> td_execute(
  ffi.Pointer<ffi.Int8> request,
) {
  return _td_execute(
    request,
  );
}