ChatFileUploadEvent
Auto-generated API reference for ChatFileUploadEvent.
Interface: ChatFileUploadEvent
Defined in: chat-trigger.ts:96
File / attachment upload.
#Extends
#Properties
#channel
channel:
ChatSurfaceChannel
Defined in: chat-trigger.ts:52
#Inherited from
#contentType?
optionalcontentType?:string
Defined in: chat-trigger.ts:101
MIME type when known.
#eventId
eventId:
string
Defined in: chat-trigger.ts:55
Surface-native event id (Slack event_id, Discord interaction id, etc.).
#Inherited from
#name
name:
string
Defined in: chat-trigger.ts:99
File name as supplied by the surface.
#receivedAt?
optionalreceivedAt?:string
Defined in: chat-trigger.ts:59
ISO 8601 timestamp from the surface, when available.
#Inherited from
#sizeBytes?
optionalsizeBytes?:number
Defined in: chat-trigger.ts:105
Size in bytes when reported.
#surface
surface:
ChatSurface
Defined in: chat-trigger.ts:51
#Inherited from
#threadId?
optionalthreadId?:string
Defined in: chat-trigger.ts:57
Thread / parent message id when the event is in-thread.
#Inherited from
#type
type:
"file_upload"
Defined in: chat-trigger.ts:97
#url?
optionalurl?:string
Defined in: chat-trigger.ts:103
URL the surface exposes for download (may require surface auth).
#user
user:
ChatSurfaceUser
Defined in: chat-trigger.ts:53