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                   @   sl   e Zd ZU dZddgZee ed< dZdZ	ded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 )Ú
CancelCodezñTelegram API function.

    Details:
        - Layer: ``220``
        - ID: ``1F040578``

    Parameters:
        phone_number (``str``):
            N/A

        phone_code_hash (``str``):
            N/A

    Returns:
        ``bool``
    Úphone_numberÚphone_code_hashÚ	__slots__ixzfunctions.auth.CancelCodeÚreturnNc                C   s   || _ || _d S )N©r   r   )Úselfr   r   © r   úd/var/www/kodo/Anonymous/send/lib/python3.10/site-packages/pyrogram/raw/functions/auth/cancel_code.pyÚ__init__9   s   
zCancelCode.__init__ÚbÚargsc                 G   s    t  | ¡}t  | ¡}t||d�S )Nr   )r	   Úreadr   )r   r   r   r   r   r   r   r   =   s   

zCancelCode.readc                 G   s@   t ƒ }| t| jdƒ¡ | t| jƒ¡ | t| jƒ¡ | ¡ S )NF)r   Úwriter   ÚIDr	   r   r   Úgetvalue)r   r   r   r   r   r   r   G   s
   zCancelCode.write)Ú__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   ,	