
    i
                     T    S SK r S SKJrJrJr  S SKrS SKJr  S SKJr   " S S5      rg)    N)UnionListIterable)raw)typesc            
       V    \ rS rSrSSS\\\\\\\4      4   S\S\S   4   4S jr	Sr
g	)
GetUsers   selfzpyrogram.Clientuser_idsreturnz
types.Userc                    #    [        U[        [        45      (       + nU(       a  [        U5      OU/n[        R
                  " U Vs/ s H  o0R                  U5      PM     sn6 I Sh  vN nU R                  [        R                  R                  R                  US95      I Sh  vN n[        R                  " 5       nU H1  nUR                  [        R                  R!                  X5      5        M3     U(       a  U$ US   $ s  snf  N Ne7f)a  Get information about a user.
You can retrieve up to 200 users at once.

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

Parameters:
    user_ids (``int`` | ``str`` | Iterable of ``int`` or ``str``):
        A list of User identifiers (id or username) or a single user id/username.
        For a contact that exists in your Telegram address book you can use his phone number (str).

Returns:
    :obj:`~pyrogram.types.User` | List of :obj:`~pyrogram.types.User`: In case *user_ids* was not a list,
    a single user is returned, otherwise a list of users is returned.

Example:
    .. code-block:: python

        # Get information about one user
        await app.get_users("me")

        # Get information about multiple users at once
        await app.get_users([user_id1, user_id2, user_id3])
N)idr   )
isinstanceintstrlistasynciogatherresolve_peerinvoker   	functionsusersr	   r   r   appendUser_parse)r   r   is_iterableirr   s         M/app/mltbenv/lib/python3.13/site-packages/pyrogram/methods/users/get_users.py	get_usersGetUsers.get_users   s     8 %XSz::%04>xj )Q1*;*;A*>)QRR++MM(( ) 
 
 

ALL**434  $u1q1 *RR
s1   ADD!D(D
)=D&D'A$DD N)__name__
__module____qualname____firstlineno__r   r   r   r   r   r!   __static_attributes__r#       r    r	   r	      sI    +2+2S(5c?";;<+2 
|T,//	0+2r)   r	   )	r   typingr   r   r   pyrogramr   r   r	   r#   r)   r    <module>r,      s#   &  ( (   ,2 ,2r)   