B
    fd`
                 @   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dgZee ed< dZdZ	e
eee
 dd	d
dZeeed dddZedddZdS )UnregisterDevicea2  Telegram API function.

    Details:
        - Layer: ``158``
        - ID: ``6A0D3206``

    Parameters:
        token_type (``int`` ``32-bit``):
            N/A

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

        other_uids (List of ``int`` ``64-bit``):
            N/A

    Returns:
        ``bool``
    
token_typetoken
other_uids	__slots__i2jz"functions.account.UnregisterDeviceN)r   r   r   returnc            C   s   || _ || _|| _d S )N)r   r   r   )selfr   r   r    r   T/tmp/pip-unpacked-wheel-rcokkf2l/pyrogram/raw/functions/account/unregister_device.py__init__;   s    zUnregisterDevice.__init__)bargsr   c             G   s.   t | }t| }t| t}t|||dS )N)r   r   r   )r   readr	   r   r   r   )r   r   r   r   r   r   r   r   r   @   s    

zUnregisterDevice.read)r   c             G   sR   t  }|t| jd |t| j |t| j |t| jt	 |
 S )NF)r   writer   IDr   r	   r   r   r   r   getvalue)r   r   r   r   r   r   r   L   s    zUnregisterDevice.write)__name__
__module____qualname____doc__r   r   str__annotations__r   ZQUALNAMEintr   staticmethodr   r   r   bytesr   r   r   r   r   r   !   s   
r   N)ior   Zpyrogram.raw.core.primitivesr   r   r   r   r   r   r	   r
   r   Zpyrogram.raw.corer   Zpyrogramr   typingr   r   r   r   r   r   r   r   <module>   s
   ,	