ContentAttachment
Properties
Name | Type | Required | Description |
---|---|---|---|
content_type | str | ❌ | Type of the attachment, which is generally a MIME attachment type like "image/jpeg", etc. Security level in ED determines what type of attachment is allowed. Based on the security level the following attachment types are supported. "Strict" level allows safe extensions below: Content name and supported types _ audio (supports aac mp3 ogg m4a) _ image (supports bmp gif jpg jpeg png svg webp) _ pdf (supports pdf) _ text (supports csv txt log) _ video (supports avi flv m4v mkv mov mp4 mpg qt wmv) _ other (supports amr dms vcard tif tiff mpeg) "Relaxed" level allows documents: Content name and supported types _ excel (supports xls xlsm xlsx xlc xlt xltm xltx) _ presentation (supports key odp otp) _ powerpoint (supports pps ppt pptx pot) _ spreadsheet (supports numbers ods ots) _ word (supports doc docm docx dotm dotx) _ word_processing (supports pages odt ott rtf) "Permissive" level allows all documents. However, there are no security level restrictions for content posted through the channel. |
creation_time | str | ❌ | Creation time of the attachment. |
embedded | bool | ❌ | Embedded in a content. |
filename | str | ❌ | Filename of the attachment. |
id_ | str | ❌ | Identifier of the attachment. |
public | bool | ❌ | Privacy setting of the attachment. |
size | int | ❌ | Size of the attachment. |
last_modified_time | str | ❌ | The time when the last modification was completed. |
uri | str | ❌ | Uri of the attachment. |
Build Your Own SDKs with liblab
Build developer friendly SDKs in minutes from your APIs