mx_download: Download a media file by mxc URI

View source: R/media.R

mx_downloadR Documentation

Download a media file by mxc URI

Description

Download a media file by mxc URI

Usage

mx_download(session, mxc_url, dest)

Arguments

session

An "mx_session" object.

mxc_url

Character. An "mxc://server/id" URI.

dest

Character. Destination file path.

Value

The destination path, invisibly.

Examples

## Not run: 
mx_download(s, "mxc://matrix.example/abc123", tempfile())

## End(Not run)

mx.api documentation built on Sept. 12, 2026, 1:07 a.m.