
    	[i                     z    d Z ddlmZ ddlmZ ddlmZmZmZmZ ddl	Z	ddl
Z
ddlmZ erddlmZ  G d	 d
e      Zy)zBFile generated by TLObjects' generator. All changes will be ERASED   )TLObject)	TLRequest    )OptionalListUnionTYPE_CHECKINGN)datetime)TypeInputCollectiblec                   8    e Zd ZdZdZddZd Zd Zed        Z	y)	GetCollectibleInfoRequestl   =| l   W) c                     || _         y)zQ
        :returns fragment.CollectibleInfo: Instance of CollectibleInfo.
        Ncollectible)selfr   s     W/mnt/data/GridWatch/venv/lib/python3.12/site-packages/telethon/tl/functions/fragment.py__init__z"GetCollectibleInfoRequest.__init__   s     '    c                     dt        | j                  t              r| j                  j                         dS | j                  dS )Nr   )_r   )
isinstancer   r   to_dictr   s    r   r   z!GetCollectibleInfoRequest.to_dict   sD    ,9CDDTDTV^9_4++335
 	
eieueu
 	
r   c                 X    dj                  d| j                  j                         f      S )Nr   s   )joinr   _bytesr   s    r   r   z GetCollectibleInfoRequest._bytes   s-    xx##%
  	r   c                 4    |j                         } | |      S )Nr   )tgread_object)clsreader_collectibles      r   from_readerz%GetCollectibleInfoRequest.from_reader#   s    ++-|,,r   N)r   r   )
__name__
__module____qualname__CONSTRUCTOR_IDSUBCLASS_OF_IDr   r   r   classmethodr"    r   r   r   r      s/    NN'
 - -r   r   )__doc__tl.tlobjectr   r   typingr   r   r   r	   osstructr
   tl.typesr   r   r)   r   r   <module>r0      s/    H # $ 7 7 	  0-	 -r   