
    N[i                     8    d dl mZ d dlZd dlmZ  G d d      Zy)    )UnionN)rawc                   .    e Zd Zdddeeef   dedefdZy)GetDiscussionRepliesCountselfzpyrogram.Clientchat_id
message_idreturnc                    K   | j                  t        j                  j                  j	                  | j                  |       d{   |ddddddd	             d{   }|j                  S 7 )7 w)a  Get the total count of replies in a discussion thread.

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

        Parameters:
            chat_id (``int`` | ``str``):
                Unique identifier (int) or username (str) of the target chat.

            message_id (``int``):
                Message id.

        Example:
            .. code-block:: python

                count = await app.get_discussion_replies_count(chat_id, message_id)
        Nr      )	peermsg_id	offset_idoffset_date
add_offsetlimitmax_idmin_idhash)invoker   	functionsmessages
GetRepliesresolve_peercount)r   r   r	   rs       i/var/www/files/kim/lib/python3.12/site-packages/pyrogram/methods/messages/get_discussion_replies_count.pyget_discussion_replies_countz6GetDiscussionRepliesCount.get_discussion_replies_count   sw     , ++MM""--,,W55! . 

 
 ww 6
s$   AA3A/A3A1A31A3N)__name__
__module____qualname__r   intstrr        r   r   r      s3    $$sCx$ $ 
	$r%   r   )typingr   pyrogramr   r   r$   r%   r   <module>r(      s   &   % %r%   