a
    !f                     @   sP   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 deZ
dS )	    )warn)ChatBase)CredentialList)ServiceList)ChannelListc                   @   sB   e Zd ZeedddZeedddZeedddZ	dS )	Chat)returnc                 C   s   t dtdd | jjS )Nz6credentials is deprecated. Use v2.credentials instead.   
stacklevel)r   DeprecationWarningv2credentialsself r   Z/var/www/html/python-backend/venv/lib/python3.9/site-packages/twilio/rest/chat/__init__.pyr   
   s    zChat.credentialsc                 C   s   t dtdd | jjS )Nz0services is deprecated. Use v2.services instead.r	   r
   )r   r   r   servicesr   r   r   r   r      s    zChat.servicesc                 C   s   t dtdd | jjS )Nz0channels is deprecated. Use v3.channels instead.r	   r
   )r   r   Zv3channelsr   r   r   r   r      s    zChat.channelsN)
__name__
__module____qualname__propertyr   r   r   r   r   r   r   r   r   r   r   	   s   r   N)warningsr   Ztwilio.rest.chat.ChatBaser   Ztwilio.rest.chat.v2.credentialr   Ztwilio.rest.chat.v2.servicer   Ztwilio.rest.chat.v3.channelr   r   r   r   r   r   <module>   s
   