# AlertMessageContext

Canonical page: https://www.adaptabletools.com/docs/reference/alertmessagecontext

Context used for creating bespoke Alert messages

```ts title="TypeScript"
export interface AlertMessageContext<TData = any> 
```

## Properties

| Property | Type | Description |
| --- | --- | --- |
| [alertDefinition](https://www.adaptabletools.com/docs/reference/alertmessagecontext.md#alertdefinition) | [`AlertDefinition`](https://www.adaptabletools.com/docs/reference/alertdefinition.md) | Current Alert Definition |
| [cellDataChangedInfo](https://www.adaptabletools.com/docs/reference/alertmessagecontext.md#celldatachangedinfo) | [`CellDataChangedInfo`](https://www.adaptabletools.com/docs/reference/celldatachangedinfo.md)`<TData>` | Cell Data change that might have triggered the Alert |
| [rowDataChangedInfo](https://www.adaptabletools.com/docs/reference/alertmessagecontext.md#rowdatachangedinfo) | [`RowDataChangedInfo`](https://www.adaptabletools.com/docs/reference/rowdatachangedinfo.md)`<TData>` | Row Data change that might have triggered the Alert (e.g. Row Added or Removed) |

## Property Details

### alertDefinition

Current Alert Definition

```ts title="TypeScript"
alertDefinition: AlertDefinition;
```

###### Property Value

[`AlertDefinition`](https://www.adaptabletools.com/docs/reference/alertdefinition.md)

### cellDataChangedInfo

Cell Data change that might have triggered the Alert

```ts title="TypeScript"
cellDataChangedInfo?: CellDataChangedInfo<TData>;
```

###### Property Value

[`CellDataChangedInfo`](https://www.adaptabletools.com/docs/reference/celldatachangedinfo.md)`<TData>`

### rowDataChangedInfo

Row Data change that might have triggered the Alert (e.g. Row Added or Removed)

```ts title="TypeScript"
rowDataChangedInfo?: RowDataChangedInfo<TData>;
```

###### Property Value

[`RowDataChangedInfo`](https://www.adaptabletools.com/docs/reference/rowdatachangedinfo.md)`<TData>`
