
    bfu                     F    d dl mZ d dlmZ d dlmZ  G d de          ZdS )   )_DICT_VERSION_CONVERSATION)api_version)Mastodonc                   h    e Zd Z edde          dd            Z edde          d             ZdS )r   z2.6.0Nc                    ||                      |d          }||                      |d          }||                      |d          }|                     t                                }|                     dd|          S )z|
        Fetches a user's conversations.

        Returns a list of :ref:`conversation dicts <conversation dicts>`.
        NT)dateconvGET/api/v1/conversations/)_Mastodon__unpack_id_Mastodon__generate_paramslocals_Mastodon__api_request)selfmax_idmin_idsince_idlimitparamss         d/home/feoh/.local/pipx/venvs/mastodon-archive/lib/python3.11/site-packages/mastodon/conversations.pyconversationszMastodon.conversations   s     %%ft%<<F%%ft%<<F''4'@@H''11!!%)A6JJJ    c                 `    |                      |          }|                     dd| d          S )z
        Marks a single conversation as read.

        Returns the updated :ref:`conversation dict <conversation dict>`.
        POSTr
   z/read)r   r   )r   ids     r   conversations_readzMastodon.conversations_read#   s9     b!!!!&*L2*L*L*LMMMr   )NNNN)__name__
__module____qualname__r   r   r   r    r   r   r   r   	   sx         ['#=>>K K K ?>K* ['#=>>N N ?>N N Nr   r   N)versionsr   utilityr   	internalsr   	Internalsr   r   r   <module>r$      s{    1 0 0 0 0 0             , , , , , ,"N "N "N "N "Ny "N "N "N "N "Nr   