Channels.php 612 Bytes
Newer Older
Juliper committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
<?php

class Services_Twilio_Rest_IPMessaging_Channels extends Services_Twilio_IPMessagingListResource {

    /**
     * Create a new Channel instance
     *
     * Example usage:
     *
     * .. code-block:: php
     *
     *      $ipMessagingClient->services->get('SV123')->channels->create(array(
     *          "FriendlyName" => "TestChannel",
     *      ));
     *
     * :param array $params: a single array of parameters which is serialized and
     *      sent directly to the Twilio API.
     *
     */
    public function create($params = array()) {
        return parent::_create($params);
    }
}