
    di                     r    d dl mZ d dlmZ  G d de          Z G d de          Z G d de          Zd	S )
    )TelegramObject)JSONDictc                        e Zd ZdZdZ	 	 	 	 ddddedededed	ed
ededz  dedz  dedz  dedz  dedz  f fdZ xZS )PersonalDetailsa  
    This object represents personal details.

    Args:
        first_name (:obj:`str`): First Name.
        middle_name (:obj:`str`): Optional. First Name.
        last_name (:obj:`str`): Last Name.
        birth_date (:obj:`str`): Date of birth in DD.MM.YYYY format.
        gender (:obj:`str`): Gender, male or female.
        country_code (:obj:`str`): Citizenship (ISO 3166-1 alpha-2 country code).
        residence_country_code (:obj:`str`): Country of residence (ISO 3166-1 alpha-2 country
            code).
        first_name_native (:obj:`str`): First Name in the language of the user's country of
            residence.
        middle_name_native (:obj:`str`): Optional. Middle Name in the language of the user's
            country of residence.
        last_name_native (:obj:`str`): Last Name in the language of the user's country of
            residence.

    Attributes:
        first_name (:obj:`str`): First Name.
        middle_name (:obj:`str`): Optional. First Name.
        last_name (:obj:`str`): Last Name.
        birth_date (:obj:`str`): Date of birth in DD.MM.YYYY format.
        gender (:obj:`str`): Gender, male or female.
        country_code (:obj:`str`): Citizenship (ISO 3166-1 alpha-2 country code).
        residence_country_code (:obj:`str`): Country of residence (ISO 3166-1 alpha-2 country
            code).
        first_name_native (:obj:`str`): First Name in the language of the user's country of
            residence.
        middle_name_native (:obj:`str`): Optional. Middle Name in the language of the user's
            country of residence.
        last_name_native (:obj:`str`): Last Name in the language of the user's country of
            residence.
    )

birth_datecountry_code
first_namefirst_name_nativegender	last_namelast_name_nativemiddle_namemiddle_name_nativeresidence_country_codeN
api_kwargsr	   r   r   r   r   r   r
   r   r   r   r   c                    t                                          |           || _        || _        |	| _        || _        || _        || _        || _        || _	        || _
        |
| _        |                                  d S Nr   )super__init__r	   r   r   r   r   r   r   r
   r   r   _freeze)selfr	   r   r   r   r   r   r
   r   r   r   r   	__class__s               T/root/projects/qq-shell/venv/lib/python3.11/site-packages/telegram/_passport/data.pyr   zPersonalDetails.__init__K   s}     	J///)''2)!!-+A#->,<.@    )NNNN	__name__
__module____qualname____doc__	__slots__strr   r   __classcell__r   s   @r   r   r      s        " "HI* )-'+"&)- '+    	
   !$ : * 4Z  $J tO         r   r   c                   P     e Zd ZdZdZdddedededed	ed
ededz  f fdZ xZS )ResidentialAddressa  
    This object represents a residential address.

    Args:
        street_line1 (:obj:`str`): First line for the address.
        street_line2 (:obj:`str`): Optional. Second line for the address.
        city (:obj:`str`): City.
        state (:obj:`str`): Optional. State.
        country_code (:obj:`str`): ISO 3166-1 alpha-2 country code.
        post_code (:obj:`str`): Address post code.

    Attributes:
        street_line1 (:obj:`str`): First line for the address.
        street_line2 (:obj:`str`): Optional. Second line for the address.
        city (:obj:`str`): City.
        state (:obj:`str`): Optional. State.
        country_code (:obj:`str`): ISO 3166-1 alpha-2 country code.
        post_code (:obj:`str`): Address post code.
    )cityr   	post_codestatestreet_line1street_line2Nr   r*   r+   r'   r)   r   r(   r   c                    t                                          |           || _        || _        || _        || _        || _        || _        |                                  d S r   )	r   r   r*   r+   r'   r)   r   r(   r   )	r   r*   r+   r'   r)   r   r(   r   r   s	           r   r   zResidentialAddress.__init__   s^     	J///!-!-	
!-'r   r   r$   s   @r   r&   r&   j   s         (I$ '+    	
    tO         r   r&   c                   @     e Zd ZdZdZdddedededz  f fdZ xZS )	IdDocumentDataah  
    This object represents the data of an identity document.

    Args:
        document_no (:obj:`str`): Document number.
        expiry_date (:obj:`str`): Optional. Date of expiry, in DD.MM.YYYY format.

    Attributes:
        document_no (:obj:`str`): Document number.
        expiry_date (:obj:`str`): Optional. Date of expiry, in DD.MM.YYYY format.
    )document_noexpiry_dateNr   r/   r0   r   c                    t                                          |           || _        || _        |                                  d S r   )r   r   r/   r0   r   )r   r/   r0   r   r   s       r   r   zIdDocumentData.__init__   sA     	J/// + +r   r   r$   s   @r   r.   r.      s}        
 
 /I '+   
 tO         r   r.   N)telegram._telegramobjectr   telegram._utils.typesr   r   r&   r.    r   r   <module>r5      s   * 4 3 3 3 3 3 * * * * * *N N N N Nn N N Nb2 2 2 2 2 2 2 2j    ^     r   