execute
Synchronously executes a TDLib request. Only a few marked accordingly requests can be executed synchronously.
Return
request result.
Parameters
query
Object representing a query to the TDLib.
<T>
Automatically deduced return type of the query.
Throws
if query execution fails.