Ë
    Fü´j”  ã                  ó\   — d Z ddlmZ ddlmZmZ ddlmZ er
ddlZddlm	Z	  G d„ d«      Z
y)	z!Provide the InboxableMixin class.é    )Úannotations)ÚTYPE_CHECKINGÚcast)ÚAPI_PATHN)Úmodelsc                  óZ   — e Zd ZU dZerded<   edd„«       Zdd„Zdd„Z	dd„Z
dd„Zdd	„Zy
)ÚInboxableMixinzLInterface for :class:`.RedditBase` subclasses that originate from the inbox.zpraw.RedditÚ_redditc                 ó   — y )N© ©Úselfs    úa/root/workspace/ytshorts/venv/lib/python3.12/site-packages/praw/models/reddit/mixins/inboxable.pyÚfullnamezInboxableMixin.fullname   s   € Ø#&ó    c                ód   — | j                   j                  t        d   d| j                  i¬«       y)a]  Block the user who sent the item.

        .. note::

            This method pertains only to objects which were retrieved via the inbox.

        Example usage:

        .. code-block:: python

            comment = reddit.comment("dkk4qjd")
            comment.block()

            # or, identically:

            comment.author.block()

        ÚblockÚid)ÚdataN)r
   Úpostr   r   r   s    r   r   zInboxableMixin.block   s)   € ð& 	�‰×Ñœ( 7Ñ+°4¸¿¹Ð2GÐÕHr   c                ód   — | j                   j                  j                  t        d| «      g«       y)a�  Mark the item as collapsed.

        .. note::

            This method pertains only to objects which were retrieved via the inbox.

        Example usage:

        .. code-block:: python

            inbox = reddit.inbox()

            # select first inbox item and collapse it message = next(inbox)
            message.collapse()

        .. seealso::

            :meth:`.uncollapse`

        úmodels.MessageN)r
   ÚinboxÚcollapser   r   s    r   r   zInboxableMixin.collapse-   s'   € ð* 	�‰×Ñ×#Ñ#¤TÐ*:¸DÓ%AÐ$BÕCr   c                ód   — | j                   j                  j                  t        d| «      g«       y)a  Mark a single inbox item as read.

        .. note::

            This method pertains only to objects which were retrieved via the inbox.

        Example usage:

        .. code-block:: python

            inbox = reddit.inbox.unread()

            for message in inbox:
                # process unread messages
                ...

        .. seealso::

            :meth:`.mark_unread`

        To mark the whole inbox as read with a single network request, use
        :meth:`.Inbox.mark_all_read`

        úmodels.Comment | models.MessageN)r
   r   Ú	mark_readr   r   s    r   r   zInboxableMixin.mark_readD   s'   € ð2 	�‰×Ñ×$Ñ$¤dÐ+LÈdÓ&SÐ%TÕUr   c                ód   — | j                   j                  j                  t        d| «      g«       y)a  Mark the item as unread.

        .. note::

            This method pertains only to objects which were retrieved via the inbox.

        Example usage:

        .. code-block:: python

            inbox = reddit.inbox(limit=10)

            for message in inbox:
                # process messages
                ...

        .. seealso::

            :meth:`.mark_read`

        r   N)r
   r   Úmark_unreadr   r   s    r   r   zInboxableMixin.mark_unread_   s(   € ð, 	�‰×Ñ×&Ñ&¬Ð-NÐPTÓ(UÐ'VÕWr   c                ód   — | j                   j                  j                  t        d| «      g«       y)a�  Mark the item as uncollapsed.

        .. note::

            This method pertains only to objects which were retrieved via the inbox.

        Example usage:

        .. code-block:: python

            inbox = reddit.inbox()

            # select first inbox item and uncollapse it
            message = next(inbox)
            message.uncollapse()

        .. seealso::

            :meth:`.collapse`

        r   N)r
   r   Ú
uncollapser   r   s    r   r!   zInboxableMixin.uncollapsew   s'   € ð, 	�‰×Ñ×%Ñ%¤tÐ,<¸dÓ'CÐ&DÕEr   N)ÚreturnÚstr)r"   ÚNone)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Ú__annotations__Úpropertyr   r   r   r   r   r!   r   r   r   r	   r	      s:   … ÙVáàÓà	Ú&ó 
Ø&óIó*Dó.Vó6Xô0Fr   r	   )r(   Ú
__future__r   Útypingr   r   Ú
praw.constr   Úprawr   r	   r   r   r   ú<module>r/      s(   ðÙ 'å "ç &å áÛÝ÷Fò Fr   