Skip to content

UserMessageContent

type UserMessageContent =
| {
text: string;
type: 'input_text';
}
| {
data?: Record<string, unknown>;
group?: string;
id: string;
interactive?: boolean;
text: string;
type: 'input_tag';
};

Structured user input segments for sending rich content (text or tags). Mirrors the UserMessageContent union from the chatkit-python SDK.