U
    ;gH	                     @   s&   d dl Z d dl mZ G dd dZdS )    N)rawc                   @   s$   e Zd ZddeeeedddZdS )UpdateProfileNzpyrogram.Client)self
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="Pyrogram")

                # Update first name and bio
                await app.update_profile(first_name="Pyrogram", bio="https://docs.pyrogram.org/")

                # Remove the last name
                await app.update_profile(last_name="")
        )r   r   ZaboutN)boolZinvoker   Z	functionsaccountr   )r   r   r   r    r   e/opt/bot/vods_filmes/script/venv/lib/python3.8/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   )Zpyrogramr   r   r   r   r   r   <module>   s   