TestProxy constructor

const TestProxy({
  1. required String server,
  2. required int port,
  3. required ProxyType type,
  4. required int dcId,
  5. required double timeout,
})

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

Implementation

const TestProxy({
  required this.server,
  required this.port,
  required this.type,
  required this.dcId,
  required this.timeout,
});