Closed tingfeng-key closed 4 years ago
Only a few TDLib methods can be called synchronously through execute
. For most methods you must use send
to send the request and receive
to receive the response some time later. See https://core.telegram.org/tdlib/getting-started#tdlib-interface for TDLib interface description.
Can I understand that the function I am calling now does not support execute
?
A function can be called synchronously, only if its description in the documentation contains "Can be called synchronously" phrase.
tip:
tblib log:
https://github.com/aurimasniekis/php-ffi-tdlib/issues/1#issue-637479909