Class: TD::Types::EmailAddressResetState::Available

Inherits:
TD::Types::EmailAddressResetState show all
Defined in:
lib/tdlib/types/email_address_reset_state/available.rb

Overview

Email address can be reset after the given period. Call resetAuthenticationEmailAddress to reset it and allow the user to authorize with a code sent to the user’s

phone number.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#wait_periodInteger

Time required to wait before the email address can be reset; 0 if the user is subscribed to Telegram Premium.

Returns:

  • (Integer)

    the current value of wait_period



8
9
10
# File 'lib/tdlib/types/email_address_reset_state/available.rb', line 8

def wait_period
  @wait_period
end