class
TD::PasswordState
- TD::PasswordState
- TD::Base
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
telegram/types/password_state.crConstructors
- .new(password_hint : String, recovery_email_address_code_info : Union(TD::EmailAddressAuthenticationCodeInfo, Nil), pending_reset_date : Int32, has_password : Bool = false, has_recovery_email_address : Bool = false, has_passport_data : Bool = false)
- .new(pull : JSON::PullParser)
- .new(__json : JSON::Any | Nil = nil)
Instance Method Summary
- #has_passport_data : Bool
- #has_passport_data=(has_passport_data : Bool)
- #has_password : Bool
- #has_password=(has_password : Bool)
- #has_recovery_email_address : Bool
- #has_recovery_email_address=(has_recovery_email_address : Bool)
- #object_type : String
- #object_type=(object_type : String)
- #password_hint : String
- #password_hint=(password_hint : String)
- #pending_reset_date : Int32
- #pending_reset_date=(pending_reset_date : Int32)
- #recovery_email_address_code_info : TD::EmailAddressAuthenticationCodeInfo?
- #recovery_email_address_code_info=(recovery_email_address_code_info : Nil | TD::EmailAddressAuthenticationCodeInfo)
Instance methods inherited from class TD::Base
extract_abstract_type(__json : JSON::Any)
extract_abstract_type,
extract_type(__json : JSON::Any, class_type : Class)
extract_type
Macros inherited from class TD::Base
object_attributes(type)
object_attributes,
object_type(type)
object_type
Constructor Detail
def self.new(password_hint : String, recovery_email_address_code_info : Union(TD::EmailAddressAuthenticationCodeInfo, Nil), pending_reset_date : Int32, has_password : Bool = false, has_recovery_email_address : Bool = false, has_passport_data : Bool = false)
#
Instance Method Detail
def recovery_email_address_code_info=(recovery_email_address_code_info : Nil | TD::EmailAddressAuthenticationCodeInfo)
#