
    N[i                     ,    d dl Z d dl mZ  G d d      Zy)    N)rawc                        e Zd ZdddedefdZy)AcceptTermsOfServiceselfzpyrogram.Clientterms_of_service_idreturnc                    K   | j                  t        j                  j                  j	                  t        j
                  j                  |                   d{   }t        |      S 7 w)zAccept the given terms of service.

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

        Parameters:
            terms_of_service_id (``str``):
                The terms of service identifier.
        )data)idN)invoker   	functionshelpr   typesDataJSONbool)r   r   rs      `/var/www/files/kim/lib/python3.12/site-packages/pyrogram/methods/auth/accept_terms_of_service.pyaccept_terms_of_servicez,AcceptTermsOfService.accept_terms_of_service   sb      ++MM3399%%, &  4 
 
 Aw
s   AA/A-A/N)__name__
__module____qualname__strr   r        r   r   r      s!      
r   r   )pyrogramr   r   r   r   r   <module>r      s   &   r   