Ë
    :É„j»  ã                   óD   — d dl Z d dl mZ d dl mZ d dlmZ  G d„ d«      Zy)é    N)Úraw)Útypes)ÚUnionc                   óL   — e Zd Z	 	 	 	 	 	 ddddeeef   dedededed	ed
dfd„Zy)ÚGetStarsTransactionsNÚselfzpyrogram.ClientÚchat_idÚlimitÚoffsetÚ
is_inboundÚis_outboundÚis_ascendingÚreturnztypes.StarsStatusc           
   ƒ   ó  K  — | j                  |«      ƒ d{  –—† }| j                  t        j                  j                  j                  ||||||¬«      «      ƒ d{  –—† }t        j                  j                  | |«      S 7 Œj7 Œ&­w)a6  Get stars transactions.

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

        Parameters:
            chat_id (``int`` | ``str``, *optional*):
                Unique identifier (int) or username (str) of the target user.
                You can also use chat public link in form of *t.me/<username>* (str).
                default to self.
                only for bots.

            limit (``int``, *optional*):
                Limits the number of transactions to be retrieved.

            offset (``str``, *optional*):
                Offset the list of transactions to be retrieved.

            is_inbound (``bool``, *optional*):
                True, if only inbound transactions should be retrieved.

            is_outbound (``bool``, *optional*):
                True, if only outbound transactions should be retrieved.

            is_ascending (``bool``, *optional*):
                True, if transactions should be returned in ascending order.

        Example:
            .. code-block:: python

                # get all transactions
                app.get_stars_transactions()

                # get all inbound transactions
                app.get_stars_transactions(is_inbound=True)

                # get all outbound transactions
                app.get_stars_transactions(is_outbound=True)

                # get all transactions in ascending order
                app.get_stars_transactions(is_ascending=True)

        Returns:
            :obj:`~pyrogram.types.StarsStatus`: On success, a :obj:`~pyrogram.types.StarsStatus` object is returned.
        N)Úpeerr
   r   ÚinboundÚoutboundÚ	ascending)	Úresolve_peerÚinvoker   Ú	functionsÚpaymentsr   r   ÚStarsStatusÚ_parse)	r   r	   r
   r   r   r   r   r   Úrs	            úg/var/www/html/GAP/venv/lib/python3.12/site-packages/pyrogram/methods/payments/get_stars_transactions.pyÚget_stars_transactionsz+GetStarsTransactions.get_stars_transactions   s„   è ø€ ðj ×&Ñ& wÓ/×/ˆà—+‘+Ü�M‰M×"Ñ"×7Ñ7ØØØØ"Ø$Ø&ð 8ó ó	
÷ 	
ˆô × Ñ ×'Ñ'¨¨aÓ0Ð0ð 0øð	
ús"   ‚B—B˜ABÁBÁ%BÂB)Úmer   Ú NNN)Ú__name__Ú
__module__Ú__qualname__r   ÚintÚstrÚboolr   © ó    r   r   r      sx   „ ð $(ØØØØ Ø!ñA1ØðA1à�s˜C�x‘ðA1ð ðA1ð ð	A1ð
 ðA1ð ðA1ð ðA1ð 
ôA1r'   r   )Úpyrogramr   r   Útypingr   r   r&   r'   r   ú<module>r*      s   ðó& Ý Ý Ý ÷B1ò B1r'   