NAME

Twilio::Rest::Conversations::V1::Service::ParticipantConversation - The ParticipantConversation resource

SYNOPSIS

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

for my $participant_conversation ($client->conversations->v1->services($chat_service_sid)->participant_conversations->read({}, 20)) {
  ...
}

DESCRIPTION

Service Participant Conversations resource represents a list of Conversations that this Participant belongs to belonging to a specific conversation service.

This file holds ParticipantConversationList, ParticipantConversationPage and ParticipantConversationInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.

ParticipantConversationList

Returned by $client->conversations->v1->services($chat_service_sid)->participant_conversations. See also Twilio::ListResource.

read

my @records = $client->conversations->v1->services($chat_service_sid)->participant_conversations->read(\%options, $limit, $page_size);

Retrieve a list of all Conversations that this Participant belongs to by identity or by address. Only one parameter should be specified. Returns the records as a list, fetching as many pages as it needs.

The options are:

address

A unique string identifier for the conversation participant who's not a Conversation User. This parameter could be found in messaging_binding.address field of Participant resource. It should be url-encoded.

identity

A unique string identifier for the conversation participant as Conversation User. This parameter is non-null if (and only if) the participant is using the Conversations SDK to communicate. Limited to 256 characters.

stream

my $stream = $client->conversations->v1->services($chat_service_sid)->participant_conversations->stream(\%options, $limit, $page_size);

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

page

my $page = $client->conversations->v1->services($chat_service_sid)->participant_conversations->page(\%options, $page_size, $page_token, $page_number);

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

get_page

my $page = $client->conversations->v1->services($chat_service_sid)->participant_conversations->get_page($url);

Fetches the page at a URL given by Twilio.

ParticipantConversationPage

A Twilio::Page of ParticipantConversationInstance objects.

records_key

build_instance

Used by Twilio::Page.

ParticipantConversationInstance

See also Twilio::InstanceResource.

Its fields are:

account_sid

The unique ID of the Account responsible for this conversation.

chat_service_sid

The unique ID of the Conversation Service this conversation belongs to.

conversation_attributes

An optional string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. Note that if the attributes are not set "{}" will be returned.

conversation_created_by

Identity of the creator of this Conversation.

conversation_date_created

The date that this conversation was created, given in ISO 8601 format. A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize.

conversation_date_updated

The date that this conversation was last updated, given in ISO 8601 format. A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize.

conversation_friendly_name

The human-readable name of this conversation, limited to 256 characters. Optional.

conversation_sid

The unique ID of the Conversation this Participant belongs to.

conversation_state

One of inactive, active or closed.

conversation_timers

Timer date values representing state update for this conversation.

conversation_unique_name

An application-defined string that uniquely identifies the Conversation resource.

Contains absolute URLs to access the participant and conversation of this conversation.

participant_identity

A unique string identifier for the conversation participant as Conversation User. This parameter is non-null if (and only if) the participant is using the Conversations SDK to communicate. Limited to 256 characters.

participant_messaging_binding

Information about how this participant exchanges messages with the conversation. A JSON parameter consisting of type and address fields of the participant.

participant_sid

The unique ID of the Participant.

participant_user_sid

The unique string that identifies the conversation participant as Conversation User.

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.