Package org.drinkless.tdlib
Class TdApi.InternalLinkTypeAuthenticationCode
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.InternalLinkType
-
- org.drinkless.tdlib.TdApi.InternalLinkTypeAuthenticationCode
-
- Enclosing class:
- TdApi
public static class TdApi.InternalLinkTypeAuthenticationCode extends TdApi.InternalLinkType
The link contains an authentication code. Call checkAuthenticationCode with the code if the current authorization state is authorizationStateWaitCode.
-
-
Field Summary
Fields Modifier and Type Field Description StringcodeThe authentication code.static intCONSTRUCTORIdentifier uniquely determining type of the object.
-
Constructor Summary
Constructors Constructor Description InternalLinkTypeAuthenticationCode()The link contains an authentication code.InternalLinkTypeAuthenticationCode(String code)The link contains an authentication code.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
code
public String code
The authentication code.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
InternalLinkTypeAuthenticationCode
public InternalLinkTypeAuthenticationCode()
The link contains an authentication code. Call checkAuthenticationCode with the code if the current authorization state is authorizationStateWaitCode.
-
InternalLinkTypeAuthenticationCode
public InternalLinkTypeAuthenticationCode(String code)
The link contains an authentication code. Call checkAuthenticationCode with the code if the current authorization state is authorizationStateWaitCode.- Parameters:
code- The authentication code.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-