Module tdlight.api

Class TdApi.TestReturnError

Enclosing class:
TdApi

public static final class TdApi.TestReturnError extends TdApi.Function<TdApi.Error>
Returns the specified error and ensures that the Error object is used; for testing only. Can be called synchronously. Returns Error
  • Field Details

  • Constructor Details

    • TestReturnError

      public TestReturnError()
      Returns the specified error and ensures that the Error object is used; for testing only. Can be called synchronously. Returns Error
    • TestReturnError

      public TestReturnError(TdApi.Error error)
      Returns the specified error and ensures that the Error object is used; for testing only. Can be called synchronously. Returns Error
      Parameters:
      error - Error The error to be returned.
    • TestReturnError

      public TestReturnError(DataInput input) throws IOException
      Returns the specified error and ensures that the Error object is used; for testing only. Can be called synchronously. Returns Error
      Throws:
      IOException
  • Method Details