The expression return $this->httpPostJson('chat/create', $data) also could return the type GuzzleHttp\Psr7\Response which is incompatible with the documented return type array.
The expression return $this->httpPostJson('chat/update', $data) also could return the type GuzzleHttp\Psr7\Response which is incompatible with the documented return type array.
The expression return $this->httpGet('c...y('chatid' => $chatId)) also could return the type GuzzleHttp\Psr7\Response which is incompatible with the documented return type array.
The expression return $this->httpPostJs..., $data ?? $this->data) also could return the type GuzzleHttp\Psr7\Response which is incompatible with the documented return type array.