Lines Matching refs:userId
12 protected $userId; variable in MatrixPhp\\User
20 * @param string $userId
24 public function __construct(MatrixHttpApi $api, string $userId, ?string $displayName = null) { argument
25 Util::checkUserId($userId);
26 $this->userId = $userId;
42 return array_get($room->getMembersDisplayNames(), $this->userId, $this->userId);
46 $this->displayName = $this->api->getDisplayName($this->userId);
49 return $this->displayName ?: $this->userId;
64 return $this->api->setDisplayName($this->userId, $displayName);
75 $mxurl = $this->api->getAvatarUrl($this->userId);
94 return $this->api->setAvatarUrl($this->userId, $avatarUrl);
97 public function userId(): string { function in MatrixPhp\\User
98 return $this->userId;