NAME
Twilio::Rest::IpMessaging::V2::Service::Channel::Member - The Member resource
SYNOPSIS
my $client = Twilio::Rest::Client->new($account_sid, $auth_token);
my $member = $client->ip_messaging->v2->services($service_sid)->channels($channel_sid)->members->create($identity, \%options);
for my $member ($client->ip_messaging->v2->services($service_sid)->channels($channel_sid)->members->read({}, 20)) {
...
}
my $member = $client->ip_messaging->v2->services($service_sid)->channels($channel_sid)->members($sid)->fetch;
$client->ip_messaging->v2->services($service_sid)->channels($channel_sid)->members($sid)->update(\%options);
$client->ip_messaging->v2->services($service_sid)->channels($channel_sid)->members($sid)->delete;
DESCRIPTION
This file holds MemberList, MemberPage, MemberContext and MemberInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.
MemberList
Returned by $client->ip_messaging->v2->services($service_sid)->channels($channel_sid)->members. See also Twilio::ListResource.
create
my $member = $client->ip_messaging->v2->services($service_sid)->channels($channel_sid)->members->create($identity, \%options);
Returns a MemberInstance.
The required values are:
The options are:
attributes-
No description in the specification.
date_created-
A string, or an object with an
epochmethod. See "iso8601_date_time" in Twilio::Serialize. date_updated-
A string, or an object with an
epochmethod. See "iso8601_date_time" in Twilio::Serialize. last_consumed_message_index-
No description in the specification.
last_consumption_timestamp-
A string, or an object with an
epochmethod. See "iso8601_date_time" in Twilio::Serialize. role_sid-
No description in the specification.
x_twilio_webhook_enabled-
The X-Twilio-Webhook-Enabled HTTP request header One of
trueorfalse.
read
my @records = $client->ip_messaging->v2->services($service_sid)->channels($channel_sid)->members->read(\%options, $limit, $page_size);
Returns the records as a list, fetching as many pages as it needs.
The options are:
identity-
An array reference.
stream
my $stream = $client->ip_messaging->v2->services($service_sid)->channels($channel_sid)->members->stream(\%options, $limit, $page_size);
Takes the same arguments as "read", and returns a Twilio::Stream.
page
my $page = $client->ip_messaging->v2->services($service_sid)->channels($channel_sid)->members->page(\%options, $page_size, $page_token, $page_number);
Fetches one page, and returns a Twilio::Page.
get_page
my $page = $client->ip_messaging->v2->services($service_sid)->channels($channel_sid)->members->get_page($url);
Fetches the page at a URL given by Twilio.
get_context
my $context = $client->ip_messaging->v2->services($service_sid)->channels($channel_sid)->members->get_context($sid);
Returns a MemberContext, and makes no request.
MemberPage
A Twilio::Page of MemberInstance objects.
records_key
build_instance
Used by Twilio::Page.
MemberContext
Returned by $client->ip_messaging->v2->services($service_sid)->channels($channel_sid)->members($sid). It makes no request until one of these methods is called.
fetch
my $member = $client->ip_messaging->v2->services($service_sid)->channels($channel_sid)->members($sid)->fetch;
Returns a MemberInstance.
update
my $member = $client->ip_messaging->v2->services($service_sid)->channels($channel_sid)->members($sid)->update(\%options);
Returns a MemberInstance.
The options are:
attributes-
No description in the specification.
date_created-
A string, or an object with an
epochmethod. See "iso8601_date_time" in Twilio::Serialize. date_updated-
A string, or an object with an
epochmethod. See "iso8601_date_time" in Twilio::Serialize. last_consumed_message_index-
No description in the specification.
last_consumption_timestamp-
A string, or an object with an
epochmethod. See "iso8601_date_time" in Twilio::Serialize. role_sid-
No description in the specification.
x_twilio_webhook_enabled-
The X-Twilio-Webhook-Enabled HTTP request header One of
trueorfalse.
delete
$client->ip_messaging->v2->services($service_sid)->channels($channel_sid)->members($sid)->delete(\%options);
Returns true.
The options are:
x_twilio_webhook_enabled-
The X-Twilio-Webhook-Enabled HTTP request header One of
trueorfalse.
MemberInstance
See also Twilio::InstanceResource.
It has fetch, update and delete, which work as they do on the context.
Its fields are:
- account_sid
-
No description in the specification.
- attributes
-
No description in the specification.
- channel_sid
-
No description in the specification.
- date_created
-
A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize.
- date_updated
-
A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize.
- identity
-
No description in the specification.
- last_consumed_message_index
-
No description in the specification.
- last_consumption_timestamp
-
A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize.
- role_sid
-
No description in the specification.
- service_sid
-
No description in the specification.
- sid
-
No description in the specification.
- url
-
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.