Ë
    :É„jÛ	  ã                   óh   — d dl Z d dlmZmZ d dlZd dlmZ  e j                  e«      Z G d„ d«      Z	y)é    N)ÚUnionÚIterable)Úrawc            	       óB   — e Zd Z	 ddddeeee   f   deeef   defd„Zy)	ÚDeleteStoriesNÚselfzpyrogram.ClientÚ	story_idsÚchat_idÚreturnc              ƒ   óŒ  K  — t        |t        «       }|rt        |«      n|g}|r| j                  |«      ƒ d{  –—† }n| j                  d«      ƒ d{  –—† }	 | j	                  t
        j                  j                  j                  ||¬«      «      ƒ d{  –—†  y7 Œb7 ŒJ7 Œ	# t        $ r}t        |«       Y d}~yd}~ww xY w­w)aq  Delete one or more story by using story identifiers.

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

        Parameters:
            story_ids (``int`` | Iterable of ``int``):
                Pass a single story identifier or an iterable of story ids (as integers) to get the content of the
                story themselves.

            chat_id (``int``, *optional*):
                Unique identifier (int) or username (str) of the target channel.
                You can also use channel public link in form of *t.me/<username>* (str).

        Returns:
            `bool`: On success, a True is returned.

        Example:
            .. code-block:: python

                # Delete one story
                await app.delete_stories(12345)

                # Delete more than one story (list of stories)
                await app.delete_stories([12345, 12346])
        NÚme)ÚpeerÚidFT)Ú
isinstanceÚintÚlistÚresolve_peerÚinvoker   Ú	functionsÚstoriesr   Ú	ExceptionÚprint)r   r	   r
   Úis_iterableÚidsr   Úes          ú\/var/www/html/GAP/venv/lib/python3.12/site-packages/pyrogram/methods/users/delete_stories.pyÚdelete_storieszDeleteStories.delete_stories   s¶   è ø€ ô> % Y´Ó4Ð4ˆÙ!,Œd�9Œo°9°+ˆáØ×*Ñ*¨7Ó3×3‰Dà×*Ñ*¨4Ó0×0ˆDð	Ø—+‘+Ü—‘×%Ñ%×3Ñ3¸ÀÐ3ÓEó÷ ð ð ð 4øà0øðùô ò 	Ü�!ŒHÜûð	üs]   ‚8CºB»CÁBÁCÁ=B# ÂB!ÂB# ÂCÂCÂ!B# Â#	CÂ,B<Â7CÂ<CÃC)N)	Ú__name__Ú
__module__Ú__qualname__r   r   r   ÚstrÚboolr   © ó    r   r   r      sF   „ ð $(ñ.Øð.à˜˜h s™mÐ+Ñ,ð.ð �s˜C�x‘ð.ð 
ô	.r$   r   )
ÚloggingÚtypingr   r   Úpyrogramr   Ú	getLoggerr   Úlogr   r#   r$   r   ú<module>r*      s/   ðó& ß "ã Ý à€g×Ñ˜Ó!€÷/ò /r$   