Home
last modified time | relevance | path

Searched refs:roomId (Results 1 – 8 of 8) sorted by relevance

/plugin/matrixnotifierwas/vendor/meet-kinksters/php-matrix-sdk/src/
DMatrixHttpApi.php273 * @param string $roomId The room ID to send the state event in.
281 public function sendStateEvent(string $roomId, string $eventType, array $content, argument
283 $path = sprintf("/rooms/%s/state/%s", urlencode($roomId), urlencode($eventType));
298 * @param string $roomId The room ID.
304 public function getStateEvent(string $roomId, string $eventType) { argument
305 $path = sprintf('/rooms/%s/state/%s', urlencode($roomId), urlencode($eventType));
311 * @param string $roomId The room ID to send the message event in.
321 public function sendMessageEvent(string $roomId, string $eventType, array $content, argument
326 …$path = sprintf('/rooms/%s/send/%s/%s', urlencode($roomId), urlencode($eventType), urlencode($txnI…
338 * @param string $roomId The room ID to redact the message event in.
[all …]
DRoom.php22 protected $roomId; variable in MatrixPhp\\Room
41 public function __construct(MatrixClient $client, string $roomId) { argument
42 Util::checkRoomId($roomId);
43 $this->roomId = $roomId;
62 $member = $this->api()->getMembership($this->roomId, $this->client->userId());
73 $this->roomId,
127 return $this->api()->sendMessage($this->roomId, $text);
153 return $this->api()->sendMessageEvent($this->roomId, 'm.room.message', $content);
165 … return $this->api()->setRoomAccountData($this->client->userId(), $this->roomId, $type, $data);
175 return $this->api()->getUserTags($this->client->userId(), $this->roomId);
[all …]
DMatrixClient.php284 $roomId = array_get($response, 'room_id', $roomIdOrAlias);
286 return $this->mkRoom($roomId);
455 * @param string $roomId
460 private function mkRoom(string $roomId): Room { argument
461 $room = new Room($this, $roomId);
464 $event = $this->api->getStateEvent($roomId, "m.room.encryption");
474 $this->rooms[$roomId] = $room;
495 foreach (array_get($response, 'rooms.invite', []) as $roomId => $inviteRoom) {
497 $cb($roomId, $inviteRoom['invite_state']);
500 foreach (array_get($response, 'rooms.leave', []) as $roomId => $leftRoom) {
[all …]
DUtil.php12 * @param string $roomId
15 public static function checkRoomId(string $roomId) { argument
16 if (strpos($roomId, '!') !== 0) {
20 if (strpos($roomId, ':') === false) {
/plugin/authgooglesheets/vendor/google/apiclient-services/src/Vault/
DHangoutsChatInfo.php26 public $roomId; variable in Google\\Service\\Vault\\HangoutsChatInfo
31 public function setRoomId($roomId) argument
33 $this->roomId = $roomId;
40 return $this->roomId;
/plugin/authgoogle/google/contrib/
DGoogle_GamesService.php330 * @param string $roomId The ID of the room.
334 public function decline($roomId, $optParams = array()) { argument
335 $params = array('roomId' => $roomId);
348 * @param string $roomId The ID of the room.
351 public function dismiss($roomId, $optParams = array()) { argument
352 $params = array('roomId' => $roomId);
360 * @param string $roomId The ID of the room.
366 public function get($roomId, $optParams = array()) { argument
367 $params = array('roomId' => $roomId);
380 * @param string $roomId The ID of the room.
[all …]
/plugin/matrixnotifierwas/vendor/meet-kinksters/php-matrix-sdk/tests/
DUserTest.php15 protected $roomId = '!test:localhost'; variable in MatrixPhp\\Tests\\UserTest
34 $this->room = $this->invokePrivateMethod($this->client, 'mkRoom', [$this->roomId]);
DMatrixHttpApiTest.php15 protected $roomId = '#foo:matrix.org'; variable in MatrixPhp\\Tests\\MatrixHttpApiTest
127 $this->api->setRoomAccountData($this->userId, $this->roomId, 'foo', ['bar' => 1]);