Class TdApi.TestCallBytes

Enclosing class:
TdApi

public static class TdApi.TestCallBytes extends TdApi.Function<TdApi.TestBytes>
Returns the received bytes; for testing only. This is an offline method. Can be called before authorization.

Returns TestBytes

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Identifier uniquely determining type of the object.
    byte[]
    Bytes to return.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor for a function, which returns the received bytes; for testing only.
    TestCallBytes(byte[] x)
    Creates a function, which returns the received bytes; for testing only.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns an identifier uniquely determining type of the object.

    Methods inherited from class org.drinkless.tdlib.TdApi.Function

    toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • x

      public byte[] x
      Bytes to return.
    • CONSTRUCTOR

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

    • TestCallBytes

      public TestCallBytes()
      Default constructor for a function, which returns the received bytes; for testing only. This is an offline method. Can be called before authorization.

      Returns TestBytes

    • TestCallBytes

      public TestCallBytes(byte[] x)
      Creates a function, which returns the received bytes; for testing only. This is an offline method. Can be called before authorization.

      Returns TestBytes

      Parameters:
      x - Bytes to return.
  • 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