existClientId method

bool existClientId(
  1. int clientId
)

ahis for handle update api add this for handle update api

Implementation

bool existClientId(int clientId) {
  for (var i = 0; i < clients.length; i++) {
    MtprotoClient tdlibClient = clients[i];
    if (tdlibClient.client_id == clientId) {
      return true;
    }
  }
  return false;
}