B
    fd                 @   s2   d dl Z d dl mZ d dl mZ G dd dZdS )    N)raw)typesc               @   s   e Zd ZdddddZdS )GetMezpyrogram.Clientz
types.User)selfreturnc                sH   |  tjjjtj dI dH }dd |jD }tj| ||j	j
 S )a?  Get your own user identity.

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

        Returns:
            :obj:`~pyrogram.types.User`: Information about the own logged in user/bot.

        Example:
            .. code-block:: python

                me = await app.get_me()
                print(me)
        )idNc             S   s   i | ]}||j qS  )r   ).0ur   r   A/tmp/pip-unpacked-wheel-rcokkf2l/pyrogram/methods/users/get_me.py
<dictcomp>/   s    z GetMe.get_me.<locals>.<dictcomp>)Zinvoker   Z	functionsusersZGetFullUserr   ZInputUserSelfZUser_parseZ	full_userr   )r   rr   r   r   r   get_me   s
    zGetMe.get_meN)__name__
__module____qualname__r   r   r   r   r   r      s   r   )Zpyrogramr   r   r   r   r   r   r   <module>   s   