Attachment

Attachment to conversation reply (ConversationPart).

Standard object fields

  • id: ID
    Unique attachment identifier

  • type: string
    Attachment type. For now is constantly file.

  • filename: string
    Original file name, including its extension (if present).

  • mime_type: string
    File Mime-Type. For instance, image/png.

  • size: int
    File size in bytes.

  • url: str
    A URL to download a file

  • created: timestamp
    Attachment creation time.

Example

{
  "type": "file",
  "created": 1436614153.123456,
  "id": 2134,
  "size": 3242,
  "filename": "prog.py",
  "mime_type": "text/x-python",
  "url": "https://files.dashly.app/attachments/4/1204e08b-399a-4422-99ad-3b14df9a91b8/prog.py",
}