class TD::PasswordState

Included Modules

Defined in:

telegram/types/password_state.cr

Constructors

Instance Method Summary

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) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
def self.new(__json : JSON::Any | Nil = nil) #

[View source]

Instance Method Detail

def has_passport_data : Bool #

def has_passport_data=(has_passport_data : Bool) #

def has_password : Bool #

def has_password=(has_password : Bool) #

def has_recovery_email_address : Bool #

def has_recovery_email_address=(has_recovery_email_address : Bool) #

def object_type : String #

def object_type=(object_type : String) #

def password_hint : String #

def password_hint=(password_hint : String) #

def pending_reset_date : Int32 #

def pending_reset_date=(pending_reset_date : Int32) #

def recovery_email_address_code_info : TD::EmailAddressAuthenticationCodeInfo? #

def recovery_email_address_code_info=(recovery_email_address_code_info : Nil | TD::EmailAddressAuthenticationCodeInfo) #