tdJsonClientReceive function

  1. @Deprecated(_useClientId)
TdObject? tdJsonClientReceive(
  1. int clientId, [
  2. double timeout = 8
])

Receives the next update or response of the TDLib instance clientId, waiting up to timeout seconds. Must not run on two threads at once.

Implementation

@Deprecated(_useClientId)
TdObject? tdJsonClientReceive(int clientId, [double timeout = 8]) =>
    convertToObject(TdPlugin.instance.tdJsonClientReceive(clientId, timeout));