sendMedias
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
compressBeforeSending
set to true to compress images before sending them
roomIds
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
rootThreadEventId
when this param is not null, all the Media will be sent in this specific thread
additionalContent
additional content to put in the event content