
    pi                     V    d dl mZ d dlmZ d dlmZ d dlmZ d dlm	Z	  G d de      Z
y)	    )warn)ChatBase)CredentialList)ServiceList)ChannelListc                   N    e Zd Zedefd       Zedefd       Zedefd       Z	y)Chatreturnc                 R    t        dt        d       | j                  j                  S )Nz6credentials is deprecated. Use v2.credentials instead.   
stacklevel)r   DeprecationWarningv2credentialsselfs    [/opt/services/ai/voice_agent/venv/lib/python3.12/site-packages/twilio/rest/chat/__init__.pyr   zChat.credentials
   s%    D	

 ww"""    c                 R    t        dt        d       | j                  j                  S )Nz0services is deprecated. Use v2.services instead.r   r   )r   r   r   servicesr   s    r   r   zChat.services   %    >	

 wwr   c                 R    t        dt        d       | j                  j                  S )Nz0channels is deprecated. Use v3.channels instead.r   r   )r   r   v3channelsr   s    r   r   zChat.channels   r   r   N)
__name__
__module____qualname__propertyr   r   r   r   r   r    r   r   r	   r	   	   sQ    #^ # #  +      +    r   r	   N)warningsr   twilio.rest.chat.ChatBaser   twilio.rest.chat.v2.credentialr   twilio.rest.chat.v2.servicer   twilio.rest.chat.v3.channelr   r	   r    r   r   <module>r&      s      . 9 3 3 8  r   