Skip to content

ChainGraph API Documentation / @badaitech/badai-api / GraphQL / MessageFieldsFragment

Type Alias: MessageFieldsFragment ​

MessageFieldsFragment = object & object

Defined in: client/graphql.ts:3408

Type Declaration ​

__typename? ​

optional __typename: "Message"

attachments? ​

optional attachments: object[] | null

author ​

author: any

chat_id ​

chat_id: any

deleted ​

deleted: boolean

error? ​

optional error: string | null

finished ​

finished: boolean

id ​

id: any

is_system ​

is_system: boolean

meta ​

meta: any

need_answer ​

need_answer: boolean

participant? ​

optional participant: { __typename?: "Participant"; agent_id: any; avatar: string; first_name: string; is_agent: boolean; last_name?: string | null; llm_model: string; meta: any; participant_id: any; purpose?: string | null; role?: string | null; self_awareness?: string | null; tools: object[]; username: string; } | null

reply_to? ​

optional reply_to: any | null

signals? ​

optional signals: object[] | null

text ​

text: string

time ​

time: any

total_usage_cost ​

total_usage_cost: any

type ​

type: MessageType

version ​

version: number

Type Declaration ​

$fragmentName? ​

optional ** $fragmentName**: "MessageFieldsFragment"

Licensed under BUSL-1.1