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                   @   sd   e Zd ZU dZdgZee ed< dZdZ	ddœdd
d„Z
ededed	d fdd„ƒZd	efdd„ZdS )ÚUpdateBirthdayzêTelegram API function.

    Details:
        - Layer: ``220``
        - ID: ``CC6E0C11``

    Parameters:
        birthday (:obj:`Birthday <pyrogram.raw.base.Birthday>`, *optional*):
            N/A

    Returns:
        ``bool``
    ÚbirthdayÚ	__slots__l   Ü z functions.account.UpdateBirthdayN©r   úraw.base.BirthdayÚreturnc                C   s
   || _ d S )Nr   )Úselfr   © r   úk/var/www/kodo/Anonymous/send/lib/python3.10/site-packages/pyrogram/raw/functions/account/update_birthday.pyÚ__init__6   s   
zUpdateBirthday.__init__ÚbÚargsc                 G   s*   t  | ¡}|d@ rt | ¡nd }t|d�S )Né   r   )r   Úreadr   r   )r   r   Úflagsr   r   r   r   r   9   s   

zUpdateBirthday.readc                 G   sb   t ƒ }| t| jdƒ¡ d}|| jd urdndO }| t|ƒ¡ | jd ur-| | j ¡ ¡ | ¡ S )NFr   r   )r   Úwriter   ÚIDr   Úgetvalue)r   r   r   r   r   r   r   r    B   s   
zUpdateBirthday.write)r   r   r   N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   ÚstrÚ__annotations__r!   ÚQUALNAMEr   Ústaticmethodr   r   r   Úbytesr    r   r   r   r   r   "   s   
 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   ,	