> For the complete documentation index, see [llms.txt](https://catenoid-support.gitbook.io/kollus-dev-jp/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://catenoid-support.gitbook.io/kollus-dev-jp/kollus-vg-controller/chattomesoddo.md).

# チャットメソッド

### **set\_chat\_config (value) v4**

**対象プレイヤータイプ：v3,v4**

> チャットウィンドウに必要な情報を表示するcustomer\_pageをTab page形で表示するように設定します。urlを入力してhtmlページにリンクしたり、html tagをそのまま入力することも可能です。※ready event 以降に呼出してください。

* ブラウザのセキュリティポリシーのため、urlは https のみ対応します。
* htmlを入力する場合、\<script>tagは動作しません。

```javascript
const config = {
    customer_page: [{
        title:'関連情報', 
        url:'https://google.com',
        //html:'<h2 style="color:red">HTML書き込み</h2>'
    }]
};
controller.set_chat_config(config);
```

***Parameters:***

* value Object チャット設定 (Json object)&#x20;

***Return:***

* No return

### **notify\_visibleheight\_changed (height) v4**

**対象プレイヤータイプ：v3,v4**

> Android webviewでkeyboardが立ち上がってくる時、webview位置がkeyboardについていきません。 したがって、チャット領域が正常に表示されるためには、必ずそのメソッドを呼び出す必要があります。 heightはキーボードなしですべての画面が見える状態が1.0です。 Keyboardが上がってきて、画面の40%を隠した と仮定すると、height = 0.6 と呼び出してください。

**Parameters:**

* value INTEGER キーボード高さ値のパーセンテージ

**Return:**

* No return


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://catenoid-support.gitbook.io/kollus-dev-jp/kollus-vg-controller/chattomesoddo.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
