Package it.tdlight.jni
Class TdApi.SetTdlibParameters
- Enclosing class:
- TdApi
public static 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 Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
TdApi.TdlibParameters
parameters
Parameters for TDLib initialization. -
Constructor Summary
Constructors Constructor Description SetTdlibParameters()
Sets the parameters for TDLib initialization.SetTdlibParameters(TdApi.TdlibParameters parameters)
Sets the parameters for TDLib initialization.SetTdlibParameters(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
parameters
Parameters for TDLib initialization. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
SetTdlibParameters
public SetTdlibParameters()Sets the parameters for TDLib initialization. Works only when the current authorization state is authorizationStateWaitTdlibParameters.Returns
Ok
-
SetTdlibParameters
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
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-