Many messengers allow attaching one or multiple media (file, photo, video), when user composing message text, and even other messages (eg for forwarding message from one room to other). But Matrix protocol now only can send one media per message (without text), so if user want to send several photos and text, it will generate several separate messages.
I can't find feature request about adding attachments to message, so create this new feature request.
As implementation, this can be simple field m.attachments, with list of msc:// urls for media, or event_id's for attach messages, eg for forwarding message to other room, in event content. Rendering attachments can be client-side feature.
Many messengers allow attaching one or multiple media (file, photo, video), when user composing message text, and even other messages (eg for forwarding message from one room to other). But Matrix protocol now only can send one media per message (without text), so if user want to send several photos and text, it will generate several separate messages.
I can't find feature request about adding attachments to message, so create this new feature request.
As implementation, this can be simple field
m.attachments, with list ofmsc://urls for media, orevent_id's for attach messages, eg for forwarding message to other room, in eventcontent. Rendering attachments can be client-side feature.