<!--
 ⚠️  AUTO-GENERATED FILE - DO NOT EDIT MANUALLY
 This file is automatically generated by scripts/docs-generator.js
 To make changes, edit the source TypeScript files or update the generator script
-->

[agents](../../) / [Exports](../modules) / IUserMessage

# Interface: IUserMessage

Base message contract shared by all message variants.

## Hierarchy

- [`IBaseMessage`](IBaseMessage)

  ↳ **`IUserMessage`**

## Table of contents

### Properties

- [timestamp](IUserMessage#timestamp)
- [metadata](IUserMessage#metadata)
- [role](IUserMessage#role)
- [content](IUserMessage#content)
- [name](IUserMessage#name)

## Properties

### timestamp

• **timestamp**: `Date`

Message creation timestamp

#### Inherited from

[IBaseMessage](IBaseMessage).[timestamp](IBaseMessage#timestamp)

#### Defined in

[packages/agents/src/interfaces/messages.ts:38](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/interfaces/messages.ts#L38)

---

### metadata

• `Optional` **metadata**: [`TUniversalMessageMetadata`](../modules#tuniversalmessagemetadata)

Additional metadata

#### Inherited from

[IBaseMessage](IBaseMessage).[metadata](IBaseMessage#metadata)

#### Defined in

[packages/agents/src/interfaces/messages.ts:40](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/interfaces/messages.ts#L40)

---

### role

• **role**: `"user"`

#### Defined in

[packages/agents/src/interfaces/messages.ts:44](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/interfaces/messages.ts#L44)

---

### content

• **content**: `string`

#### Defined in

[packages/agents/src/interfaces/messages.ts:45](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/interfaces/messages.ts#L45)

---

### name

• `Optional` **name**: `string`

#### Defined in

[packages/agents/src/interfaces/messages.ts:46](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/interfaces/messages.ts#L46)
