https://open-assistant.io/api/messages/user
https://open-assistant.io/api/messages/user
user
https://open-assistant.io/api/messages/user/

# 1. 사용자 메시지 전송

```php
<?php

use OpenAssistant\Client\OpenAssistantClient;

$client = new OpenAssistantClient(
    new \GuzzleHttp\Client(),
    new \OpenAssistant\Client\Configuration(
        [
            'basePath' => 'https://open-assistant.io/api/',
            'apiKey' => 'YOUR_API_KEY',
        ]
    )
);

$response = $client->messages->user()->send(
    new \OpenAssistant\Client\Messages\User\SendRequest([
        'message' => 'Hello, world!',
    ])
);

print_r($response);
```

# 2. 사용자 메시지 목록 조회

```php
<?php

use OpenAssistant\Client\OpenAssistantClient;

$client = new OpenAssistantClient(
    new \GuzzleHttp\Client(),
    new \OpenAssistant\Client\Configuration(
        [
            'basePath' => 'https://open-assistant.io/api/',
            'apiKey' => 'YOUR_API_KEY',
        ]
    )
);

$response = $client->messages->user()->list(
    new \OpenAssistant\Client\Messages\User\ListRequest([
        'limit' => 10,
        'offset' => 0,
    ])
);

print_r($response);
```

# 3. 사용자 메시지 상세 정보 조회

```php
<?php

use OpenAssistant\Client\OpenAssistantClient;

$client = new OpenAssistantClient(
    new \GuzzleHttp\Client(),
    new \OpenAssistant\Client\Configuration(
        [
            'basePath' => 'https://open-assistant.io/api/',
            'apiKey' => 'YOUR_API_KEY',
        ]
    )
);

$response = $client->messages->user()->get(
    new \OpenAssistant\Client\Messages\User\GetRequest([
        'id' => 1,
    ])
);

print_r($response);
```

# 4. 사용자 메시지 삭제

```php
<?php

use OpenAssistant\Client\Open
assistant
https://open-assistant.io/api/messages/user
user
```
{
  "role": "user",
  "content": "Hello, I am a user. Please respond to me as a chatbot."
}
```

https://open-assistant.io/api/messages/assistant

```
{
  "role": "assistant",
  "content": "Hello, I am a chatbot. How can I help you?"
}
```

```
{
  "role": "user",
  "content": "I am a user. Please respond to me as a chatbot."
}
```

https://open-assistant.io/api/messages/assistant

```
{
  "role": "assistant",
  "content": "Hello, I am a chatbot. How can I help you?"
}
```

```
{
  "role": "user",
  "content": "I am a user. Please respond to me as a chatbot."
}
```

https://open-assistant.io/api/messages/assistant

```
{
  "role": "assistant",
  "content": "Hello, I am a chatbot. How can I help you?"
}
```

```
{
  "role": "user",
  "content": "I am a user. Please respond to me as a chatbot."
}
```

https://open-assistant.io/api/messages/assistant

```
{
  "role": "assistant",
  "content": "Hello, I am a chatbot. How can I help you?"
}
```

```
{
  "role": "user",
  "content": "I am a user. Please respond to me as a chatbot."
}
```

https://open-assistant.io/api/messages/assistant

```
{
  "role": "assistant",
  "content": "Hello, I am a chatbot. How can I help you?"
}
```

```
{
  "role": "user",
  "content": "I am a user
assistant
https://open-assistant.io/api/messages/user
user
https://open-assistant.io/api/messages/user/

# 1. 사용자 메시지 전송

```php
<?php

use OpenAssistant\Client\OpenAssistantClient;

$client = new OpenAssistantClient(
    new \GuzzleHttp\Client(),
    new \OpenAssistant\Client\Configuration(
        [
            'basePath' => 'https://open-assistant.io/api/',
            'apiKey' => 'YOUR_API_KEY',
        ]
    )
);

$response = $client->messages->user()->send(
    new \OpenAssistant\Client\Messages\User\SendRequest([
        'message' => 'Hello, world!',
    ])
);

print_r($response);
```

# 2. 사용자 메시지 목록 조회

```php
<?php

use OpenAssistant\Client\OpenAssistantClient;

$client = new OpenAssistantClient(
    new \GuzzleHttp\Client(),
    new \OpenAssistant\Client\Configuration(
        [
            'basePath' => 'https://open-assistant.io/api/',
            'apiKey' => 'YOUR_API_KEY',
        ]
    )
);

$response = $client->messages->user()->list(
    new \OpenAssistant\Client\Messages\User\ListRequest([
        'limit' => 10,
        'offset' => 0,
    ])
);

print_r($response);
```

# 3. 사용자 메시지 상세 정보 조회

```php
<?php

use OpenAssistant\Client\OpenAssistantClient;

$client = new OpenAssistantClient(
    new \GuzzleHttp\Client(),
    new \OpenAssistant\Client\Configuration(
        [
            'basePath' => 'https://open-assistant.io/api/',
            'apiKey' => 'YOUR_API_KEY',
        ]
    )
);

$response = $client->messages->user()->get(
    new \OpenAssistant\Client\Messages\User\GetRequest([
        'id' => 1,
    ])
);

print_r($response);
```

# 4. 사용자 메시지 삭제

```php
<?php

use OpenAssistant\Client\Open
assistant