Module tdlight.api

Class TdApi.TestNetwork

Enclosing class:
TdApi

public static final class TdApi.TestNetwork extends TdApi.Function<TdApi.Ok>
Sends a simple network request to the Telegram servers; for testing only. Can be called before authorization.

Returns Ok

  • Field Details

  • Constructor Details

    • TestNetwork

      public TestNetwork()
      Sends a simple network request to the Telegram servers; for testing only. Can be called before authorization.

      Returns Ok

    • TestNetwork

      public TestNetwork(DataInput input) throws IOException
      Sends a simple network request to the Telegram servers; for testing only. Can be called before authorization.

      Returns Ok

      Throws:
      IOException
  • Method Details