@@ -2975,7 +2975,7 @@ internal interface UniffiLib : Library {
29752975 ): Long
29762976 fun uniffi_matrix_sdk_ffi_fn_method_timeline_send_audio(`ptr`: Pointer,`url`: RustBuffer.ByValue,`audioInfo`: RustBuffer.ByValue,`caption`: RustBuffer.ByValue,`formattedCaption`: RustBuffer.ByValue,`progressWatcher`: RustBuffer.ByValue,`useSendQueue`: Byte,uniffi_out_err: UniffiRustCallStatus,
29772977 ): Pointer
2978- fun uniffi_matrix_sdk_ffi_fn_method_timeline_send_file(`ptr`: Pointer,`url`: RustBuffer.ByValue,`fileInfo`: RustBuffer.ByValue,`progressWatcher`: RustBuffer.ByValue,`useSendQueue`: Byte,uniffi_out_err: UniffiRustCallStatus,
2978+ fun uniffi_matrix_sdk_ffi_fn_method_timeline_send_file(`ptr`: Pointer,`url`: RustBuffer.ByValue,`fileInfo`: RustBuffer.ByValue,`caption`: RustBuffer.ByValue,`formattedCaption`: RustBuffer.ByValue,` progressWatcher`: RustBuffer.ByValue,`useSendQueue`: Byte,uniffi_out_err: UniffiRustCallStatus,
29792979 ): Pointer
29802980 fun uniffi_matrix_sdk_ffi_fn_method_timeline_send_image(`ptr`: Pointer,`url`: RustBuffer.ByValue,`thumbnailUrl`: RustBuffer.ByValue,`imageInfo`: RustBuffer.ByValue,`caption`: RustBuffer.ByValue,`formattedCaption`: RustBuffer.ByValue,`progressWatcher`: RustBuffer.ByValue,`useSendQueue`: Byte,uniffi_out_err: UniffiRustCallStatus,
29812981 ): Pointer
@@ -5133,7 +5133,7 @@ private fun uniffiCheckApiChecksums(lib: UniffiLib) {
51335133 if (lib.uniffi_matrix_sdk_ffi_checksum_method_timeline_send_audio() != 43163.toShort()) {
51345134 throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
51355135 }
5136- if (lib.uniffi_matrix_sdk_ffi_checksum_method_timeline_send_file() != 35408 .toShort()) {
5136+ if (lib.uniffi_matrix_sdk_ffi_checksum_method_timeline_send_file() != 37925 .toShort()) {
51375137 throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
51385138 }
51395139 if (lib.uniffi_matrix_sdk_ffi_checksum_method_timeline_send_image() != 45681.toShort()) {
@@ -20092,7 +20092,7 @@ public interface TimelineInterface {
2009220092
2009320093 fun `sendAudio`(`url`: kotlin.String, `audioInfo`: AudioInfo, `caption`: kotlin.String?, `formattedCaption`: FormattedBody?, `progressWatcher`: ProgressWatcher?, `useSendQueue`: kotlin.Boolean): SendAttachmentJoinHandle
2009420094
20095- fun `sendFile`(`url`: kotlin.String, `fileInfo`: FileInfo, `progressWatcher`: ProgressWatcher?, `useSendQueue`: kotlin.Boolean): SendAttachmentJoinHandle
20095+ fun `sendFile`(`url`: kotlin.String, `fileInfo`: FileInfo, `caption`: kotlin.String?, `formattedCaption`: FormattedBody?, ` progressWatcher`: ProgressWatcher?, `useSendQueue`: kotlin.Boolean): SendAttachmentJoinHandle
2009620096
2009720097 fun `sendImage`(`url`: kotlin.String, `thumbnailUrl`: kotlin.String?, `imageInfo`: ImageInfo, `caption`: kotlin.String?, `formattedCaption`: FormattedBody?, `progressWatcher`: ProgressWatcher?, `useSendQueue`: kotlin.Boolean): SendAttachmentJoinHandle
2009820098
@@ -20611,12 +20611,12 @@ open class Timeline: Disposable, AutoCloseable, TimelineInterface {
2061120611 }
2061220612
2061320613
20614- override fun `sendFile`(`url`: kotlin.String, `fileInfo`: FileInfo, `progressWatcher`: ProgressWatcher?, `useSendQueue`: kotlin.Boolean): SendAttachmentJoinHandle {
20614+ override fun `sendFile`(`url`: kotlin.String, `fileInfo`: FileInfo, `caption`: kotlin.String?, `formattedCaption`: FormattedBody?, ` progressWatcher`: ProgressWatcher?, `useSendQueue`: kotlin.Boolean): SendAttachmentJoinHandle {
2061520615 return FfiConverterTypeSendAttachmentJoinHandle.lift(
2061620616 callWithPointer {
2061720617 uniffiRustCall() { _status ->
2061820618 UniffiLib.INSTANCE.uniffi_matrix_sdk_ffi_fn_method_timeline_send_file(
20619- it, FfiConverterString.lower(`url`),FfiConverterTypeFileInfo.lower(`fileInfo`),FfiConverterOptionalTypeProgressWatcher.lower(`progressWatcher`),FfiConverterBoolean.lower(`useSendQueue`),_status)
20619+ it, FfiConverterString.lower(`url`),FfiConverterTypeFileInfo.lower(`fileInfo`),FfiConverterOptionalString.lower(`caption`),FfiConverterOptionalTypeFormattedBody.lower(`formattedCaption`), FfiConverterOptionalTypeProgressWatcher.lower(`progressWatcher`),FfiConverterBoolean.lower(`useSendQueue`),_status)
2062020620}
2062120621 }
2062220622 )
0 commit comments