U
    ;g                     @   s&   d dl Z d dl mZ G dd dZdS )    N)rawc                   @   s   e Zd ZdeedddZdS )AcceptTermsOfServicezpyrogram.Client)selfterms_of_service_idreturnc                    s.   |  tjjjtjj|ddI dH }t|S )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)Zinvoker   Z	functionshelpr   typesZDataJSONbool)r   r   r r   m/opt/bot/vods_filmes/script/venv/lib/python3.8/site-packages/pyrogram/methods/auth/accept_terms_of_service.pyaccept_terms_of_service   s    
z,AcceptTermsOfService.accept_terms_of_serviceN)__name__
__module____qualname__strr   r   r   r   r   r   r      s   r   )Zpyrogramr   r   r   r   r   r   <module>   s   