Lines Matching refs:roomId
22 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);
186 return $this->api()->removeUserTag($this->client->userId(), $this->roomId, $tag);
199 … return $this->api()->addUserTag($this->client->userId(), $this->roomId, $tag, $order, $content);
212 return $this->api()->sendEmote($this->roomId, $text);
229 return $this->api()->sendContent($this->roomId, $url, $name, 'm.file', $fileinfo);
242 return $this->api()->sendNotice($this->roomId, $text);
259 return $this->api()->sendContent($this->roomId, $url, $name, 'm.image', $fileinfo);
276 return $this->api()->sendLocation($this->roomId, $geoUri, $name, $thumbUrl, $thumbInfo);
292 return $this->api()->sendContent($this->roomId, $url, $name, 'm.video', $videoinfo);
308 return $this->api()->sendContent($this->roomId, $url, $name, 'm.audio', $audioinfo);
324 return $this->api()->redactEvent($this->roomId, $eventId, $reason);
442 $this->api()->inviteUser($this->roomId, $userId);
460 $this->api()->kickUser($this->roomId, $userId, $reason);
478 $this->api()->banUser($this->roomId, $userId, $reason);
495 $this->api()->leaveRoom($this->roomId);
496 $this->client->forgetRoom($this->roomId);
511 $response = $this->api()->getRoomName($this->roomId);
533 $this->api()->setRoomName($this->roomId, $name);
551 $this->api()->sendStateEvent($this->roomId, $eventType, $content, $stateKey);
562 $response = $this->api()->getRoomTopic($this->roomId);
581 $this->api()->setRoomTopic($this->roomId, $topic);
599 $response = $this->api()->getRoomState($this->roomId);
622 $this->api()->setRoomAlias($this->roomId, $alias);
634 $response = $this->api()->getRoomMembers($this->roomId);
671 $res = $this->api()->getRoomMessages($this->roomId, $this->prevBatch, 'b', $limit);
694 $content = $this->api()->getPowerLevels($this->roomId);
714 $this->api()->setPowerLevels($this->roomId, $content);
744 $content = $this->api()->getPowerLevels($this->roomId);
767 $this->api()->setPowerLevels($this->roomId, $content);
786 $this->api()->setJoinRule($this->roomId, $joinRule);
805 $this->api()->setGuestAccess($this->roomId, $guestAccess);