# SiActivityMessageComponent documentation

**Kind:** component

**Selector:** `si-activity-message`

```
import { SiActivityMessageComponent } from '@siemens/element-ng/chat-messages';
```

Collapsible activity message for displaying progress and intermediate steps in a chat.

```
component SiActivityMessageComponent
```

#### Input Properties

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| [expanded](<https://github.com/siemens/element/blob/main/projects/element-ng/chat-messages/si-activity-message.component.ts#L41-L41>) | `boolean` | `false` | Whether the activity details are expanded. |
| [heading](<https://github.com/siemens/element/blob/main/projects/element-ng/chat-messages/si-activity-message.component.ts#L28-L28>) (required) | `TranslatableString` |  | Activity heading. |
| [icon](<https://github.com/siemens/element/blob/main/projects/element-ng/chat-messages/si-activity-message.component.ts#L31-L31>) | `string \| undefined` |  | Activity icon. |
| [state](<https://github.com/siemens/element/blob/main/projects/element-ng/chat-messages/si-activity-message.component.ts#L34-L34>) | `"running" \| "failed" \| undefined` |  | Current state of the activity. |

#### Output Properties

| Name | Type | Description |
| --- | --- | --- |
| [expandedChange](<https://github.com/siemens/element/blob/main/projects/element-ng/chat-messages/si-activity-message.component.ts#L41-L41>) | `boolean` | Whether the activity details are expanded. |

### Types Documentation

### [TranslatableString](<https://github.com/siemens/element/blob/main/projects/element-translate-ng/translate-types/global.types.ts#L18-L18>)

**Kind:** type alias

```
import type { TranslatableString } from '@siemens/element-translate-ng/translate-types';
```

Represents a translatable string. This can either be a translation key, e.g. `ACTIONS.EDIT` that will be automatically translated when displayed on the UI or a pre-translated string, e.g. `Edit`. Equivalent to a normal string in usage and functionality.

```
type TranslatableString = string & Translatable
```
