o
    -˜Žj–	  ã                   @   s&   d dl Z d dl mZ G dd„ dƒZdS )é    N)Úrawc                   @   s2   e Zd Z			d
dddedededef
dd	„ZdS )ÚUpdateProfileNÚselfzpyrogram.ClientÚ
first_nameÚ	last_nameÚbioÚreturnc                 Ã   s&   �t |  tjjj|||d�¡I dH ƒS )a  Update your profile details such as first name, last name and bio.

        You can omit the parameters you don't want to change.

        .. include:: /_includes/usable-by/users.rst

        Parameters:
            first_name (``str``, *optional*):
                The new first name.

            last_name (``str``, *optional*):
                The new last name.
                Pass "" (empty string) to remove it.

            bio (``str``, *optional*):
                The new bio, also known as "about". Max 70 characters.
                Pass "" (empty string) to remove it.

        Returns:
            ``bool``: True on success.

        Example:
            .. code-block:: python

                # Update your first name only
                await app.update_profile(first_name="Pyrofork")

                # Update first name and bio
                await app.update_profile(first_name="Pyrofork", bio="https://pyrofork.wulan17.dev/")

                # Remove the last name
                await app.update_profile(last_name="")
        )r   r   ÚaboutN)ÚboolÚinvoker   Ú	functionsÚaccountr   )r   r   r   r   © r   úb/var/www/kodo/Anonymous/send/lib/python3.10/site-packages/pyrogram/methods/users/update_profile.pyÚupdate_profile   s   €(ýÿÿzUpdateProfile.update_profile)NNN)Ú__name__Ú
__module__Ú__qualname__Ústrr
   r   r   r   r   r   r      s    üÿþýüûr   )Úpyrogramr   r   r   r   r   r   Ú<module>   s   