NAME

Twilio::Jwt::Grants::VideoGrant - Lets a client join a video room

SYNOPSIS

my $grant = Twilio::Jwt::Grants::VideoGrant->new;
$grant->set_room('daily-standup');

$token->add_grant($grant);

DESCRIPTION

See Twilio::Jwt::AccessToken.

METHODS

get_grant_key

Returns video.

payload_fields

Returns the fields of the grant.

get_room

set_room

Read and change the room, by SID or name. set_room returns the grant.

LICENSE

Copyright (c) 2026 Francisco Zarabozo. Released under the MIT License.