ChatAttachment interface

An attachment in a chat message.

Properties

attachmentType

The type of attachment.

id

Id of the attachment

name

The name of the attachment content.

previewUrl

The URL where the preview of attachment can be downloaded

url

The URL where the attachment can be downloaded

Property Details

attachmentType

The type of attachment.

attachmentType: ChatAttachmentType

Property Value

id

Id of the attachment

id: string

Property Value

string

name

The name of the attachment content.

name?: string

Property Value

string

previewUrl

The URL where the preview of attachment can be downloaded

previewUrl?: string

Property Value

string

url

The URL where the attachment can be downloaded

url?: string

Property Value

string