Generates a list of random requests for participants, excluding the host and co-host.
generateRandomRequestList({ participants: [ { id: "1", name: "Alice" }, { id: "2", name: "Bob" }, { id: "3", name: "Charlie" }, ], hostName: "Alice", coHostName: "Bob", numberOfRequests: 2,});// Returns [// { id: "3", name: "charlie", icon: "fa-video", username: "charlie" },// { id: "3", name: "charlie", icon: "fa-microphone", username: "charlie" }// ] Copy
generateRandomRequestList({ participants: [ { id: "1", name: "Alice" }, { id: "2", name: "Bob" }, { id: "3", name: "Charlie" }, ], hostName: "Alice", coHostName: "Bob", numberOfRequests: 2,});// Returns [// { id: "3", name: "charlie", icon: "fa-video", username: "charlie" },// { id: "3", name: "charlie", icon: "fa-microphone", username: "charlie" }// ]
The options for generating the request list.
The generated list of requests.
Generates a list of random requests for participants, excluding the host and co-host.
Example