ChatAttachmentΒΆ

Generated from the central API contract. Availability and permissions are checked by the connected service.

Field

Type / accepted values

Required

Default

Constraints / meaning

download_url

string

Yes

Omitted

minLength: 1; maxLength: 8192; Temporary HTTPS URL supplied by the chat client for this selected attachment. Never invent a URL or substitute a local path.

file_id

string

Yes

Omitted

minLength: 1; maxLength: 1024; Opaque reference supplied by the chat client. It is not an API key.

mime_type

string

No

""

maxLength: 180

file_name

string

No

""

maxLength: 180

Omission and explicit null are different. Defaults shown are schema defaults; validators may resolve conditional defaults or reject incompatible combinations. See the workflow guide and validate the complete request before submission.