Sha256: 27730440c601aae1cdeaa38fcaf92c55c586dd448d89aabd4f1c6e748ebe0243
Contents?: true
Size: 988 Bytes
Versions: 3
Compression:
Stored size: 988 Bytes
Contents
module TD::Types # Represents the current state of 2-step verification. # # @attr has_password [Boolean] True, if a 2-step verification password is set. # @attr password_hint [String, nil] Hint for the password; may be empty. # @attr has_recovery_email_address [Boolean] True, if a recovery email is set. # @attr has_passport_data [Boolean] True, if some Telegram Passport elements were saved. # @attr recovery_email_address_code_info [TD::Types::EmailAddressAuthenticationCodeInfo, nil] Information about the # recovery email address to which the confirmation email was sent; may be null. class PasswordState < Base attribute :has_password, TD::Types::Bool attribute :password_hint, TD::Types::String.optional.default(nil) attribute :has_recovery_email_address, TD::Types::Bool attribute :has_passport_data, TD::Types::Bool attribute :recovery_email_address_code_info, TD::Types::EmailAddressAuthenticationCodeInfo.optional.default(nil) end end
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
tdlib-schema-1.7.0.1 | lib/tdlib/types/password_state.rb |
tdlib-ruby-2.2.0 | lib/tdlib/types/password_state.rb |
tdlib-ruby-2.1.0 | lib/tdlib/types/password_state.rb |