Matrix API feature to upload content. https://spec.matrix.org/v1.1/client-server-api/#post_matrixmediav3upload
Copyright: | 2023 Andrew Lyons <andrew@nicols.co.uk> |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 83 lines (3 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
upload_content(?\stored_file $content,?string $mediaid = null,) X-Ref |
Upload the content in the matrix/synapse server. param: null|\stored_file $content The content to be uploaded param: null|string $mediaid The mediaid to associate a file with. Supported for v1.7 API an above only. return: Response |