Module tdlight.api

Class TdApi.ResendAuthenticationCode

Enclosing class:
TdApi

public static final class TdApi.ResendAuthenticationCode extends TdApi.Function<TdApi.Ok>
Resends 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, or when the current authorization state is authorizationStateWaitEmailCode. Returns Ok
  • Field Details

  • Constructor Details

    • ResendAuthenticationCode

      public ResendAuthenticationCode()
      Resends 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, or when the current authorization state is authorizationStateWaitEmailCode. Returns Ok
    • ResendAuthenticationCode

      public ResendAuthenticationCode(DataInput input) throws IOException
      Resends 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, or when the current authorization state is authorizationStateWaitEmailCode. Returns Ok
      Throws:
      IOException
  • Method Details