20 lines
286 B
TypeScript
20 lines
286 B
TypeScript
/**
|
|
* Options for creating a participant token.
|
|
*/
|
|
export interface TokenOptions {
|
|
/**
|
|
* The unique identifier for the room.
|
|
*/
|
|
roomId: string;
|
|
|
|
/**
|
|
* The name of the participant.
|
|
*/
|
|
participantName: string;
|
|
|
|
/**
|
|
* A secret key for room access.
|
|
*/
|
|
secret: string;
|
|
}
|