forked from bigbluebutton/bigbluebutton-api-php
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add sendchatmessage api endpoint (#204)
* Implement SendChatMessage api * Update src/Parameters/SendChatMessageParameters.php Co-authored-by: Felix Jacobi <felix@jacobi-hamburg.net> * Rectored code * Fixed PHPStan --------- Co-authored-by: Felix Jacobi <felix@jacobi-hamburg.net>
- Loading branch information
1 parent
13fabd0
commit 3563503
Showing
6 changed files
with
91 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
/** | ||
* This file is part of littleredbutton/bigbluebutton-api-php. | ||
* | ||
* littleredbutton/bigbluebutton-api-php is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU Lesser General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* littleredbutton/bigbluebutton-api-php is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU Lesser General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU Lesser General Public License | ||
* along with littleredbutton/bigbluebutton-api-php. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
namespace BigBlueButton\Parameters; | ||
|
||
/** | ||
* Class SendChatMessageParameters. | ||
* | ||
* @method string getMeetingID() | ||
* @method $this setMeetingID(string $id) | ||
* @method string getMessage() | ||
* @method $this setMessage(string $message) | ||
* @method string|null getUserName() | ||
* @method $this setUserName(string $userName) | ||
*/ | ||
final class SendChatMessageParameters extends BaseParameters | ||
{ | ||
public function __construct(protected string $meetingID, protected string $message, protected ?string $userName = null) | ||
{ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
/** | ||
* This file is part of littleredbutton/bigbluebutton-api-php. | ||
* | ||
* littleredbutton/bigbluebutton-api-php is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU Lesser General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* littleredbutton/bigbluebutton-api-php is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU Lesser General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU Lesser General Public License | ||
* along with littleredbutton/bigbluebutton-api-php. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
namespace BigBlueButton\Responses; | ||
|
||
final class SendChatMessageResponse extends BaseResponse | ||
{ | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.