NAME
Twilio::Rest::Intelligence::V2::Transcript::Media - The Media resource
SYNOPSIS
my $client = Twilio::Rest::Client->new($account_sid, $auth_token);
my $media = $client->intelligence->v2->transcripts($sid)->media->fetch;
DESCRIPTION
This file holds MediaContext and MediaInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.
MediaContext
Returned by $client->intelligence->v2->transcripts($sid)->media. It makes no request until one of these methods is called.
fetch
my $media = $client->intelligence->v2->transcripts($sid)->media->fetch(\%options);
Get download URLs for media if possible. Returns a MediaInstance.
The options are:
redacted-
Grant access to PII Redacted/Unredacted Media. If redaction is enabled, the default is
trueto access redacted media.
MediaInstance
See also Twilio::InstanceResource.
It has fetch, which work as they do on the context.
Its fields are:
- account_sid
-
The unique SID identifier of the Account.
- media_url
-
Downloadable URL for media, if stored in Twilio AI.
- service_sid
-
The unique SID identifier of the Service.
- sid
-
The unique SID identifier of the Transcript.
- url
-
The URL of this resource.
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.