o
    -˜Žj–  ã                   @   sx   d dl mZ d dlmZmZmZmZmZmZm	Z	m
Z
mZ d dlmZ d dlmZ d dlmZmZmZ G dd„ deƒZdS )	é    )ÚBytesIO)	ÚIntÚLongÚInt128ÚInt256ÚBoolÚBytesÚStringÚDoubleÚVector)ÚTLObject)Úraw)ÚListÚOptionalÚAnyc                	   @   s†   e Zd ZU dZg d¢Zee ed< dZdZ	ddddœde
e de
e d	e
e d
dfdd„Zededed
d fdd„ƒZd
efdd„ZdS )ÚUpdateProfileaS  Telegram API function.

    Details:
        - Layer: ``220``
        - ID: ``78515775``

    Parameters:
        first_name (``str``, *optional*):
            N/A

        last_name (``str``, *optional*):
            N/A

        about (``str``, *optional*):
            N/A

    Returns:
        :obj:`User <pyrogram.raw.base.User>`
    ©Ú
first_nameÚ	last_nameÚaboutÚ	__slots__iuWQxzfunctions.account.UpdateProfileNr   r   r   Úreturnc                C   s   || _ || _|| _d S )Nr   )Úselfr   r   r   © r   új/var/www/kodo/Anonymous/send/lib/python3.10/site-packages/pyrogram/raw/functions/account/update_profile.pyÚ__init__<   s   
zUpdateProfile.__init__ÚbÚargsc                 G   sZ   t  | ¡}|d@ rt | ¡nd }|d@ rt | ¡nd }|d@ r$t | ¡nd }t|||d�S )Né   é   é   r   )r   Úreadr	   r   )r   r   Úflagsr   r   r   r   r   r   r!   A   s
   
zUpdateProfile.readc                 G   sÂ   t ƒ }| t| jdƒ¡ d}|| jd urdndO }|| jd ur!dndO }|| jd ur,dndO }| t|ƒ¡ | jd urC| t| jƒ¡ | jd urP| t| jƒ¡ | jd ur]| t| jƒ¡ | ¡ S )NFr   r   r   r    )	r   Úwriter   ÚIDr   r   r   r	   Úgetvalue)r   r   r   r"   r   r   r   r#   K   s   


zUpdateProfile.write)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   ÚstrÚ__annotations__r$   ÚQUALNAMEr   r   Ústaticmethodr   r   r!   Úbytesr#   r   r   r   r   r   "   s   
 0	r   N)Úior   Úpyrogram.raw.core.primitivesr   r   r   r   r   r   r	   r
   r   Úpyrogram.raw.corer   Úpyrogramr   Útypingr   r   r   r   r   r   r   r   Ú<module>   s   ,	