Attachment

Available on Agent 2.0.0 and above.
Downloads the attachment body by the attachment ID, stream ID, and message ID.

🚧

Note

A successful call returns the attachment body encoded in Base64. Be sure to decode the downloaded attachment.

📘

Attachments

  • Anyone can download attachments from public rooms or rooms with viewHistory enabled.
  • The Content Export service user is able to download attachments even from rooms he is not a member of.
Language