Module tdlight.api

Class TdApi.SetTdlibParameters

Enclosing class:
TdApi

public static final class TdApi.SetTdlibParameters extends TdApi.Function<TdApi.Ok>
Sets the parameters for TDLib initialization. Works only when the current authorization state is authorizationStateWaitTdlibParameters.

Returns Ok

  • Field Details

  • Constructor Details

    • SetTdlibParameters

      public SetTdlibParameters()
      Sets the parameters for TDLib initialization. Works only when the current authorization state is authorizationStateWaitTdlibParameters.

      Returns Ok

    • SetTdlibParameters

      public SetTdlibParameters(TdApi.TdlibParameters parameters)
      Sets the parameters for TDLib initialization. Works only when the current authorization state is authorizationStateWaitTdlibParameters.

      Returns Ok

      Parameters:
      parameters - TdlibParameters Parameters for TDLib initialization.
    • SetTdlibParameters

      public SetTdlibParameters(DataInput input) throws IOException
      Sets the parameters for TDLib initialization. Works only when the current authorization state is authorizationStateWaitTdlibParameters.

      Returns Ok

      Throws:
      IOException
  • Method Details