NAME

Twilio::Rest::IpMessaging::V1::Service::User::UserChannel - The UserChannel resource

SYNOPSIS

my $client = Twilio::Rest::Client->new($account_sid, $auth_token);

for my $user_channel ($client->ip_messaging->v1->services($service_sid)->users($user_sid)->user_channels->read({}, 20)) {
  ...
}

DESCRIPTION

This file holds UserChannelList, UserChannelPage and UserChannelInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.

UserChannelList

Returned by $client->ip_messaging->v1->services($service_sid)->users($user_sid)->user_channels. See also Twilio::ListResource.

read

my @records = $client->ip_messaging->v1->services($service_sid)->users($user_sid)->user_channels->read(\%options, $limit, $page_size);

Returns the records as a list, fetching as many pages as it needs.

stream

my $stream = $client->ip_messaging->v1->services($service_sid)->users($user_sid)->user_channels->stream(\%options, $limit, $page_size);

Takes the same arguments as "read", and returns a Twilio::Stream.

page

my $page = $client->ip_messaging->v1->services($service_sid)->users($user_sid)->user_channels->page(\%options, $page_size, $page_token, $page_number);

Fetches one page, and returns a Twilio::Page.

get_page

my $page = $client->ip_messaging->v1->services($service_sid)->users($user_sid)->user_channels->get_page($url);

Fetches the page at a URL given by Twilio.

UserChannelPage

A Twilio::Page of UserChannelInstance objects.

records_key

build_instance

Used by Twilio::Page.

UserChannelInstance

See also Twilio::InstanceResource.

Its fields are:

account_sid

No description in the specification.

channel_sid

No description in the specification.

last_consumed_message_index

No description in the specification.

No description in the specification.

member_sid

No description in the specification.

service_sid

No description in the specification.

status

One of joined, invited or not_participating.

unread_messages_count

No description in the specification.

CONSTRUCTORS

new

Objects here come from the methods above, so there is no need to call new directly.

LICENSE

Copyright (c) 2026 Francisco Zarabozo. Released under the MIT License.