Class 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 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.