def list_preferences(self, **kwargs):
warnings.warn(<EOL>"<STR_LIT>"<EOL>"<STR_LIT>",<EOL>DeprecationWarning<EOL>)<EOL>return self.get_preferences(**kwargs)<EOL>
Fetch all preferences for the given communication channel.

.. warning::
    .. deprecated:: 0.10.0
        Use :func:`canvasapi.communication_channel.CommunicationChannel.get_preferences`
        instead.

:calls: `GET
    /api/v1/users/:user_id/communication_channels/:communication_channel_id/ \
        notification_preferences \
<https://canvas.instructure.com/doc/api/notification_preferences.html#method.notification_preferences.index>`_

:rtype: `list`