Lines Matching refs:textContent
431 * @param string $textContent The m.text body to send.
439 …public function sendMessage(string $roomId, string $textContent, string $msgType = 'm.text', int $… argument
440 $textBody = $this->getTextBody($textContent, $msgType);
449 * @param string $textContent The m.emote body to send.
456 public function sendEmote(string $roomId, string $textContent, int $timestamp = null) { argument
457 $body = $this->getEmoteBody($textContent);
466 * @param string $textContent The m.emote body to send.
473 public function sendNotice(string $roomId, string $textContent, int $timestamp = null) { argument
476 'body' => $textContent,
852 public function getTextBody(string $textContent, string $msgType = 'm.text'): array { argument
855 'body' => $textContent,
859 private function getEmoteBody(string $textContent): array { argument
860 return $this->getTextBody($textContent, 'm.emote');