NAME
Twilio::Rest::Conversations::V1::Conversation::Message::DeliveryReceipt - The DeliveryReceipt resource
SYNOPSIS
my $client = Twilio::Rest::Client->new($account_sid, $auth_token);
for my $delivery_receipt ($client->conversations->v1->conversations($conversation_sid)->messages($message_sid)->delivery_receipts->read({}, 20)) {
...
}
my $delivery_receipt = $client->conversations->v1->conversations($conversation_sid)->messages($message_sid)->delivery_receipts($sid)->fetch;
DESCRIPTION
A Message Receipt resource represents a delivery/read receipt of a message in a conversation.
This file holds DeliveryReceiptList, DeliveryReceiptPage, DeliveryReceiptContext and DeliveryReceiptInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.
DeliveryReceiptList
Returned by $client->conversations->v1->conversations($conversation_sid)->messages($message_sid)->delivery_receipts. See also Twilio::ListResource.
read
my @records = $client->conversations->v1->conversations($conversation_sid)->messages($message_sid)->delivery_receipts->read(\%options, $limit, $page_size);
Retrieve a list of all delivery and read receipts of the conversation message. Returns the records as a list, fetching as many pages as it needs.
stream
my $stream = $client->conversations->v1->conversations($conversation_sid)->messages($message_sid)->delivery_receipts->stream(\%options, $limit, $page_size);
Takes the same arguments as "read", and returns a Twilio::Stream.
page
my $page = $client->conversations->v1->conversations($conversation_sid)->messages($message_sid)->delivery_receipts->page(\%options, $page_size, $page_token, $page_number);
Fetches one page, and returns a Twilio::Page.
get_page
my $page = $client->conversations->v1->conversations($conversation_sid)->messages($message_sid)->delivery_receipts->get_page($url);
Fetches the page at a URL given by Twilio.
get_context
my $context = $client->conversations->v1->conversations($conversation_sid)->messages($message_sid)->delivery_receipts->get_context($sid);
Returns a DeliveryReceiptContext, and makes no request.
DeliveryReceiptPage
A Twilio::Page of DeliveryReceiptInstance objects.
records_key
build_instance
Used by Twilio::Page.
DeliveryReceiptContext
Returned by $client->conversations->v1->conversations($conversation_sid)->messages($message_sid)->delivery_receipts($sid). It makes no request until one of these methods is called.
fetch
my $delivery_receipt = $client->conversations->v1->conversations($conversation_sid)->messages($message_sid)->delivery_receipts($sid)->fetch;
Fetch the delivery and read receipts of the conversation message. Returns a DeliveryReceiptInstance.
DeliveryReceiptInstance
See also Twilio::InstanceResource.
It has fetch, which work as they do on the context.
Its fields are:
- account_sid
-
The unique ID of the Account responsible for this participant.
- channel_message_sid
-
A messaging channel-specific identifier for the message delivered to participant e.g.
SMxxfor SMS,WAxxfor Whatsapp etc. - conversation_sid
-
The unique ID of the Conversation for this message.
- date_created
-
The date that this resource was created. A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize.
- date_updated
-
The date that this resource was last updated.
nullif the delivery receipt has not been updated. A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize. - error_code
-
The message delivery error code for a
failedstatus, - message_sid
-
The SID of the message within a Conversation the delivery receipt belongs to
- participant_sid
-
The unique ID of the participant the delivery receipt belongs to.
- sid
-
A 34 character string that uniquely identifies this resource.
- status
-
One of
read,failed,delivered,undeliveredorsent. - url
-
An absolute API resource URL for this delivery receipt.
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.