Module tdlight.api

Class TdApi.ResendAuthenticationCode

Enclosing class:
TdApi

public static final class TdApi.ResendAuthenticationCode extends TdApi.Function<TdApi.Ok>
Re-sends an authentication code to the user. Works only when the current authorization state is authorizationStateWaitCode, the nextCodeType of the result is not null and the server-specified timeout has passed.

Returns Ok

  • Field Details

  • Constructor Details

    • ResendAuthenticationCode

      public ResendAuthenticationCode()
      Re-sends an authentication code to the user. Works only when the current authorization state is authorizationStateWaitCode, the nextCodeType of the result is not null and the server-specified timeout has passed.

      Returns Ok

    • ResendAuthenticationCode

      public ResendAuthenticationCode(DataInput input) throws IOException
      Re-sends an authentication code to the user. Works only when the current authorization state is authorizationStateWaitCode, the nextCodeType of the result is not null and the server-specified timeout has passed.

      Returns Ok

      Throws:
      IOException
  • Method Details