Lines Matching refs:api
66 protected $api; variable in MatrixPhp\\MatrixClient
121 $this->api = new MatrixHttpApi($baseUrl, $token);
122 $this->api->validateCertificate($validCertCheck);
131 $response = $this->api->whoami();
146 $response = $this->api->register([], 'guest');
161 $response = $this->api->register($auth, 'user', false, $username, $password);
170 $this->api->setToken($this->token);
178 $response = $this->api->login('m.login.password', [
204 $response = $this->api->login(
231 $this->api->setToken($this->token);
235 …$this->olmDevice = new OlmDevice($this->api, $this->userId, $this->deviceId, $this->encryptionConf…
255 $this->api->logout();
270 $response = $this->api->createRoom($alias, null, $isPublic, $invitees);
283 $response = $this->api->joinRoom($roomIdOrAlias);
443 $response = $this->api->mediaUpload($content, $contentType, $filename);
464 $event = $this->api->getStateEvent($roomId, "m.room.encryption");
487 $response = $this->api->sync($this->syncToken, $timeoutMs, $this->syncFilter);
563 $this->api->removeRoomAlias($roomAlias);
571 public function api(): MatrixHttpApi { function in MatrixPhp\\MatrixClient
572 return $this->api;