bigbluebutton-api-php icon indicating copy to clipboard operation
bigbluebutton-api-php copied to clipboard

CreateMeetingParameters() not found

Open soheil-b98 opened this issue 3 years ago • 1 comments

i use the sample code but this method not found... sample code

`use BigBlueButton/BigBlueButton;

$bbb = new BigBlueButton(); $createMeetingParams = new CreateMeetingParameters('bbb-meeting-uid-65', 'BigBlueButton API Meeting'); $response = $bbb->createMeeting($createMeetingParams);

echo "Created Meeting with ID: " . $response->getMeetingId(); `

error

"message": "Class \"App\\Services\\BigBlueButton\\CreateMeetingParameters\" not found", "exception": "Error", "file": "/home/alirezadev/Desktop/BPMS/app/Services/BigBlueButton/BBBService.php", "line": 15,

soheil-b98 avatar Aug 03 '22 06:08 soheil-b98

In addition to use use BigBlueButton/BigBlueButton , you should also use use BigBlueButton\Parameters\CreateMeetingParameters

soheil-b98 avatar Aug 03 '22 06:08 soheil-b98