send Medias
abstract fun sendMedias( attachments: List<ContentAttachmentData>, compressBeforeSending: Boolean, roomIds: Set<String>, rootThreadEventId: String? = null, additionalContent: Content? = null): Cancelable
Content copied to clipboard
Method to send a list of media asynchronously.
Return
Parameters
attachments
the list of media to send
compress Before Sending
set to true to compress images before sending them
room Ids
set of roomIds to where the media will be sent. The current roomId will be add to this set if not present. It can be useful to send media to multiple room. It's safe to include the current roomId in this set
root Thread Event Id
when this param is not null, all the Media will be sent in this specific thread
additional Content
additional content to put in the event content