updateClientById method
Future<bool>
updateClientById(
- int clientId, {
- required TdlibClient newTdlibClient,
- String? extra,
- bool isInvokeThrowOnError = true,
Implementation
Future<bool> updateClientById(
int clientId, {
required TdlibClient newTdlibClient,
String? extra,
bool isInvokeThrowOnError = true,
}) async {
TdlibClient? tdlibClient = clients[clientId];
if (tdlibClient != null) {
// sendPort.send(newTdlibClient);
clients[clientId] = newTdlibClient;
return true;
}
return false;
}