Class TdApi.CheckAuthenticationCode

  • Enclosing class:
    TdApi

    public static class TdApi.CheckAuthenticationCode
    extends TdApi.Function
    Checks the authentication code. Works only when the current authorization state is authorizationStateWaitCode.

    Returns Ok

    • Field Detail

      • code

        public String code
        Authentication code to check.
      • CONSTRUCTOR

        public static final int CONSTRUCTOR
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CheckAuthenticationCode

        public CheckAuthenticationCode()
        Default constructor for a function, which checks the authentication code. Works only when the current authorization state is authorizationStateWaitCode.

        Returns Ok

      • CheckAuthenticationCode

        public CheckAuthenticationCode​(String code)
        Creates a function, which checks the authentication code. Works only when the current authorization state is authorizationStateWaitCode.

        Returns Ok

        Parameters:
        code - Authentication code to check.