o
    -˜Žjë  ã                   @   s2   d dl Z d dl mZ d dlmZ G dd„ dƒZdS )é    N)Úraw)ÚUnionc                   @   s*   e Zd Zdddeeef defdd„ZdS )ÚUpdatePersonalChatÚselfzpyrogram.ClientÚchat_idÚreturnc                 Ã   s:   �|   |¡I dH }|  tjjj|d�¡I dH }|rdS dS )a	  Update your birthday details.

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

        Parameters:
            chat_id (``int``):
                Unique identifier (int) of the target channel.
                You can also use channel public link in form of *t.me/<username>* (str).

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

        Example:
            .. code-block:: python

                # Update your personal chat
                await app.update_personal_chat(chat_id=-1001234567890)
        N)ÚchannelTF)Úresolve_peerÚinvoker   Ú	functionsÚaccountÚUpdatePersonalChannel)r   r   ÚchatÚr© r   úh/var/www/kodo/Anonymous/send/lib/python3.10/site-packages/pyrogram/methods/users/update_personal_chat.pyÚupdate_personal_chat   s   €z'UpdatePersonalChat.update_personal_chatN)Ú__name__Ú
__module__Ú__qualname__r   ÚintÚstrÚboolr   r   r   r   r   r      s    ÿ
þýr   )Úpyrogramr   Útypingr   r   r   r   r   r   Ú<module>   s   