Attachments

class gcsa.attachment.Attachment(file_url, title=None, mime_type=None, _icon_link=None, _file_id=None)

File attachment for the event.

Currently only Google Drive attachments are supported.

Parameters:
  • file_url (str) – A link for opening the file in a relevant Google editor or viewer.

  • title (str) – Attachment title

  • mime_type (str) – Internet media type (MIME type) of the attachment. See available MIME types

  • _icon_link (str) – URL link to the attachment’s icon (read only)

  • _file_id (str) – Id of the attached file (read only)