Module tdlight.api

Class TdApi.TestCallVectorStringObject

Enclosing class:
TdApi

public static final class TdApi.TestCallVectorStringObject extends TdApi.Function<TdApi.TestVectorStringObject>
Returns the received vector of objects containing a string; for testing only. This is an offline method. Can be called before authorization.

Returns TestVectorStringObject

  • Field Details

    • x

      public TdApi.TestString[] x
      Vector of objects to return.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • TestCallVectorStringObject

      public TestCallVectorStringObject()
      Returns the received vector of objects containing a string; for testing only. This is an offline method. Can be called before authorization.

      Returns TestVectorStringObject

    • TestCallVectorStringObject

      public TestCallVectorStringObject(TdApi.TestString[] x)
      Returns the received vector of objects containing a string; for testing only. This is an offline method. Can be called before authorization.

      Returns TestVectorStringObject

      Parameters:
      x - Vector of objects to return.

      Returns TestVectorStringObject

    • TestCallVectorStringObject

      public TestCallVectorStringObject(DataInput input) throws IOException
      Returns the received vector of objects containing a string; for testing only. This is an offline method. Can be called before authorization.

      Returns TestVectorStringObject

      Parameters:
      input - Serialized input
      Throws:
      IOException - the deserialization failed
  • Method Details

    • getConstructor

      public int getConstructor()
      Description copied from class: TdApi.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR
    • serialize

      public void serialize(DataOutput output) throws IOException
      Serialize the TDLib class
      Specified by:
      serialize in class TdApi.Object
      Parameters:
      output - output data stream
      Throws:
      IOException - the serialization failed
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object