Class: TD::Types::SuggestedAction::SetPassword

Inherits:
TD::Types::SuggestedAction show all
Defined in:
lib/tdlib/types/suggested_action/set_password.rb

Overview

Suggests the user to set a 2-step verification password to be able to log in again.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#authorization_delayInteger

The number of days to pass between consecutive authorizations if the user declines to set password; if 0, then the user is advised to set the password for security reasons.

Returns:

  • (Integer)

    the current value of authorization_delay



6
7
8
# File 'lib/tdlib/types/suggested_action/set_password.rb', line 6

def authorization_delay
  @authorization_delay
end