# Interface UniversalMessageEvent

interface UniversalMessageEvent {
currentTarget?: any;
data: string;
lastEventId: string;
origin: string;
target?: any;
type: string;
}

#### Hierarchy (View Summary)

- UniversalEvent
  - UniversalMessageEvent

- Defined in rivetkit-typescript/packages/rivetkit/src/common/eventsource-interface.ts:8

##### Index

### Properties

currentTarget?
data
lastEventId
origin
target?
type

## Properties

### `Optional` currentTarget

currentTarget?: any

Inherited from UniversalEvent.currentTarget

- Defined in rivetkit-typescript/packages/rivetkit/src/common/eventsource-interface.ts:5

### data

data: string

- Defined in rivetkit-typescript/packages/rivetkit/src/common/eventsource-interface.ts:9

### lastEventId

lastEventId: string

- Defined in rivetkit-typescript/packages/rivetkit/src/common/eventsource-interface.ts:10

### origin

origin: string

- Defined in rivetkit-typescript/packages/rivetkit/src/common/eventsource-interface.ts:11

### `Optional` target

target?: any

Inherited from UniversalEvent.target

- Defined in rivetkit-typescript/packages/rivetkit/src/common/eventsource-interface.ts:4

### type

type: string

Inherited from UniversalEvent.type

- Defined in rivetkit-typescript/packages/rivetkit/src/common/eventsource-interface.ts:3