TestProxy constructor

TestProxy(
  1. {required String server,
  2. required int port,
  3. required ProxyType type,
  4. required int dc_id,
  5. required double timeout,
  6. int? extra,
  7. int? clientId}
)

Sends a simple network request to the Telegram servers via proxy; for testing only. Can be called before authorization

Returns Ok

Implementation

TestProxy