Attachment in a conversation part (ConversationPart).

Used for attaching files to messages. Might be used for other purpose in the future. To learn, what attachment this is, client should check attachment type.


All attachments must have type showing attachment’s type. The rest of the fields depends on the type of attachment.


  "type": "file",

  "id": 2134,
  "size": 3242,
  "filename": "",
  "mime_type": "text/x-python",
  "url": "",

type Contains file value

id Contains file ID

size File size (bytes)

filename Contains full name of the file

mime_type Contains file’s MIME-type

url Contains file’s download URL.