@vonage/video
Version:
Package to interact with the Vonage Video API (Not OpenTok Compatible)
24 lines (22 loc) • 572 B
TypeScript
/**
* Interface representing options for generating a client token.
*/
type ClientTokenOptions = {
/**
* The role associated with the client token (optional).
*/
role?: string;
/**
* Additional data for the client token (optional).
*/
data?: string;
/**
* The expiration time of the client token in seconds (optional).
*/
expireTime?: number;
/**
* An array of initial layout class list for the client token (optional).
*/
initialLayoutClassList?: string[];
};
export type { ClientTokenOptions };