agentskit.js

ChatFileUploadEvent

Auto-generated API reference for ChatFileUploadEvent.

Interface: ChatFileUploadEvent

Defined in: chat-trigger.ts:97

File / attachment upload.

#Extends

#Properties

#channel

channel: ChatSurfaceChannel

Defined in: chat-trigger.ts:53

#Inherited from

ChatSurfaceMeta.channel


#contentType?

optional contentType?: string

Defined in: chat-trigger.ts:102

MIME type when known.


#eventId

eventId: string

Defined in: chat-trigger.ts:56

Surface-native event id (Slack event_id, Discord interaction id, etc.).

#Inherited from

ChatSurfaceMeta.eventId


#name

name: string

Defined in: chat-trigger.ts:100

File name as supplied by the surface.


#receivedAt?

optional receivedAt?: string

Defined in: chat-trigger.ts:60

ISO 8601 timestamp from the surface, when available.

#Inherited from

ChatSurfaceMeta.receivedAt


#sizeBytes?

optional sizeBytes?: number

Defined in: chat-trigger.ts:106

Size in bytes when reported.


#surface

surface: ChatSurface

Defined in: chat-trigger.ts:52

#Inherited from

ChatSurfaceMeta.surface


#threadId?

optional threadId?: string

Defined in: chat-trigger.ts:58

Thread / parent message id when the event is in-thread.

#Inherited from

ChatSurfaceMeta.threadId


#type

type: "file_upload"

Defined in: chat-trigger.ts:98


#url?

optional url?: string

Defined in: chat-trigger.ts:104

URL the surface exposes for download (may require surface auth).


#user

user: ChatSurfaceUser

Defined in: chat-trigger.ts:54

#Inherited from

ChatSurfaceMeta.user

Explore nearby

✎ Edit this page on GitHubΒ·Found a problem? Open an issue β†’Β·How to contribute β†’

On this page

Ask the docs

Ask anything about AgentsKit. Answers come from the docs corpus via OpenRouter free-tier models. Rate limited per IP.