o
    .˜Žj©  ã                   @   sf   d dl mZmZmZ d dlmZ d dlmZmZ ddl	m
Z
 ddlmZ eeeefZG dd„ dƒZd	S )
é    )ÚMessageÚMsgContainerÚTLObject)ÚPing)ÚMsgsAckÚHttpWaité   )ÚMsgId)ÚSeqNoc                   @   s&   e Zd Zdd„ Zdedefdd„ZdS )Ú
MsgFactoryc                 C   s   t ƒ | _d S ©N)r
   Úseq_no)Úself© r   úc/var/www/kodo/Anonymous/send/lib/python3.10/site-packages/pyrogram/session/internals/msg_factory.pyÚ__init__   s   zMsgFactory.__init__ÚbodyÚreturnc                 C   s"   t |tƒ |  t|tƒ ¡t|ƒƒS r   )r   r	   r   Ú
isinstanceÚnot_content_relatedÚlen)r   r   r   r   r   Ú__call__!   s   üzMsgFactory.__call__N)Ú__name__Ú
__module__Ú__qualname__r   r   r   r   r   r   r   r   r      s    r   N)Úpyrogram.raw.corer   r   r   Úpyrogram.raw.functionsr   Úpyrogram.raw.typesr   r   Úmsg_idr	   r   r
   r   r   r   r   r   r   Ú<module>   s   