# 1:1 채팅방으로 이동(makeDirectChatRoom)

1:1 채팅방으로 이동하는 동작을 수행해요.&#x20;

* 채팅방으로 이동하기 위해서는 '유저정보 항목'이 필요해요. 해당 액션에서 '유저정보 항목'을 클릭하면 채팅을 연결할 수 있는 대상에 대한 목록이 떠요. 예를 들어, 채팅을 글 작성자와 연결하고 싶으면 작성자 (\_createUser) 항목을 클릭해서 저장하면 돼요.

<div align="left"><figure><img src="/files/mCByLFXOPr60lRKBcy4l" alt="" width="563"><figcaption></figcaption></figure></div>

아이콘을 클릭하면, 설정한 **1:1 채팅방으로 이동** 액션 및 유저 정보 항목에 따라 특정 대상과의 1:1 채팅방으로 이동해요.

<div align="left"><figure><img src="/files/u2KSxzRL5mLCiGXxhbnb" alt="" width="563"><figcaption></figcaption></figure></div>

> \#채팅방 #채팅방으로이동 #채팅방가기 #1:1 채팅 #화면 이동

2023.10.10 Jinny

**Transitioning to the 1:1 Chat Page (makeDirectChatRoom)**

This function facilitates the process of accessing the 1:1 chat page.&#x20;

* Prior to entering the chat room, you'll need a 'user information item'. Simply click on the 'User Information Item' action to reveal a list of users with whom you can initiate a chat. For instance, if you wish to start a chat with a writer from a post, clicking the Author's (\_createUser) item will associate the chat accordingly.

> \#chatroom, #access chatroom, #Initiate 1:1 chat, #page transition

2023.08.11 Song


---

# Agent Instructions: 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:

```
GET https://docs.ohmyapp.io/main/guide/develop_app/command-execute-function/action/makedirectchatroom.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
