o
    -˜Žjw  ã                   @   s*   d dl Z d dl mZmZ G dd„ dƒZdS )é    N)ÚrawÚtypesc                   @   s   e Zd Z				ddd„ZdS )	ÚGetActiveSessionsÚselfúpyrogram.ClientÚreturnútypes.ActiveSessionsc                 Ã   s&   �|   tjj ¡ ¡I dH }tj |¡S )zùReturns all active sessions of the current user.

        .. include:: /_includes/usable-by/users.rst

        Returns:
            :obj:`~pyrogram.types.ActiveSessions`: On success, all the active sessions of the current user is returned.

        N)Úinvoker   Ú	functionsÚaccountÚGetAuthorizationsr   ÚActiveSessionsÚ_parse)r   Úr© r   úf/var/www/kodo/Anonymous/send/lib/python3.10/site-packages/pyrogram/methods/auth/get_active_sessions.pyÚget_active_sessions   s
   €

ÿz%GetActiveSessions.get_active_sessionsN)r   r   r   r   )Ú__name__Ú
__module__Ú__qualname__r   r   r   r   r   r      s    ÿþr   )Úpyrogramr   r   r   r   r   r   r   Ú<module>   s   