Documentation
Framework
Version
Class References
Function References
Interface References
Type Alias References
Variable References

TextMessageStartEvent

Interface: TextMessageStartEvent

Defined in: types.ts:777

Emitted when a text message starts.

Extends

Properties

messageId

ts
messageId: string;
messageId: string;

Defined in: types.ts:780

Unique identifier for this message


model?

ts
optional model: string;
optional model: string;

Defined in: types.ts:722

Model identifier for multi-model support

Inherited from

BaseAGUIEvent.model


rawEvent?

ts
optional rawEvent: unknown;
optional rawEvent: unknown;

Defined in: types.ts:724

Original provider event for debugging/advanced use cases

Inherited from

BaseAGUIEvent.rawEvent


role

ts
role: "assistant";
role: "assistant";

Defined in: types.ts:782

Role is always assistant for generated messages


timestamp

ts
timestamp: number;
timestamp: number;

Defined in: types.ts:720

Inherited from

BaseAGUIEvent.timestamp


type

ts
type: "TEXT_MESSAGE_START";
type: "TEXT_MESSAGE_START";

Defined in: types.ts:778

Overrides

BaseAGUIEvent.type