NAME

Twilio::Rest::Video::V1::Room::Transcriptions - The Transcriptions resource

SYNOPSIS

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

my $transcriptions = $client->video->v1->rooms($room_sid)->transcriptions->create(\%options);
for my $transcriptions ($client->video->v1->rooms($room_sid)->transcriptions->read({}, 20)) {
  ...
}
my $transcriptions = $client->video->v1->rooms($room_sid)->transcriptions($ttid)->fetch;
$client->video->v1->rooms($room_sid)->transcriptions($ttid)->update(\%options);

DESCRIPTION

transcriptions in video rooms

This file holds TranscriptionsList, TranscriptionsPage, TranscriptionsContext and TranscriptionsInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.

TranscriptionsList

Returned by $client->video->v1->rooms($room_sid)->transcriptions. See also Twilio::ListResource.

create

my $transcriptions = $client->video->v1->rooms($room_sid)->transcriptions->create(\%options);

Returns a TranscriptionsInstance.

The options are:

configuration

A collection of properties that describe transcription behaviour. A hash or array reference, or a string of JSON.

read

my @records = $client->video->v1->rooms($room_sid)->transcriptions->read(\%options, $limit, $page_size);

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

stream

my $stream = $client->video->v1->rooms($room_sid)->transcriptions->stream(\%options, $limit, $page_size);

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

page

my $page = $client->video->v1->rooms($room_sid)->transcriptions->page(\%options, $page_size, $page_token, $page_number);

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

get_page

my $page = $client->video->v1->rooms($room_sid)->transcriptions->get_page($url);

Fetches the page at a URL given by Twilio.

get_context

my $context = $client->video->v1->rooms($room_sid)->transcriptions->get_context($ttid);

Returns a TranscriptionsContext, and makes no request.

TranscriptionsPage

A Twilio::Page of TranscriptionsInstance objects.

records_key

build_instance

Used by Twilio::Page.

TranscriptionsContext

Returned by $client->video->v1->rooms($room_sid)->transcriptions($ttid). It makes no request until one of these methods is called.

fetch

my $transcriptions = $client->video->v1->rooms($room_sid)->transcriptions($ttid)->fetch;

Returns a TranscriptionsInstance.

update

my $transcriptions = $client->video->v1->rooms($room_sid)->transcriptions($ttid)->update(\%options);

Returns a TranscriptionsInstance.

The options are:

configuration

A collection of properties that describe transcription behaviour. A hash or array reference, or a string of JSON.

status

One of started, stopped or failed.

TranscriptionsInstance

See also Twilio::InstanceResource.

It has fetch and update, which work as they do on the context.

Its fields are:

account_sid

The SID of the Account that created the Room resource.

configuration

An JSON object that describes the video layout of the composition in terms of regions. See Specifying Video Layouts for more info.

date_created

The date and time in GMT when the resource was created specified in ISO 8601 format. A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize.

date_updated

The date and time in GMT when the resource was last updated specified in ISO 8601 format. A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize.

duration

The duration in seconds that the transcriptions were connected. Populated only after the transcriptions is stopped.

end_time

The time when the transcriptions disconnected from the room in ISO 8601 format. A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize.

room_sid

The SID of the transcriptions's room.

source_sid

The SID of the transcriptions's associated call.

start_time

The time of transcriptions connected to the room in ISO 8601 format. A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize.

status

One of started, stopped or failed.

ttid

The unique string that we created to identify the transcriptions resource.

url

The absolute URL of the 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.