Share via


ResponseMessageItem interface

Base type for message item within a conversation.

Extends

Properties

content
role
status
type

Inherited Properties

id
object

Property Details

content

content: ContentPartUnion[]

Property Value

role

role: string

Property Value

string

status

status: string

Property Value

string

type

type: "message"

Property Value

"message"

Inherited Property Details

id

id?: string

Property Value

string

Inherited From ResponseItem.id

object

object?: "realtime.item"

Property Value

"realtime.item"

Inherited From ResponseItem.object