@@ -2975,7 +2975,7 @@ internal interface UniffiLib : Library {
2975
2975
): Long
2976
2976
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,
2977
2977
): 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,
2979
2979
): Pointer
2980
2980
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,
2981
2981
): Pointer
@@ -5133,7 +5133,7 @@ private fun uniffiCheckApiChecksums(lib: UniffiLib) {
5133
5133
if (lib.uniffi_matrix_sdk_ffi_checksum_method_timeline_send_audio() != 43163.toShort()) {
5134
5134
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
5135
5135
}
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()) {
5137
5137
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
5138
5138
}
5139
5139
if (lib.uniffi_matrix_sdk_ffi_checksum_method_timeline_send_image() != 45681.toShort()) {
@@ -20092,7 +20092,7 @@ public interface TimelineInterface {
20092
20092
20093
20093
fun `sendAudio`(`url`: kotlin.String, `audioInfo`: AudioInfo, `caption`: kotlin.String?, `formattedCaption`: FormattedBody?, `progressWatcher`: ProgressWatcher?, `useSendQueue`: kotlin.Boolean): SendAttachmentJoinHandle
20094
20094
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
20096
20096
20097
20097
fun `sendImage`(`url`: kotlin.String, `thumbnailUrl`: kotlin.String?, `imageInfo`: ImageInfo, `caption`: kotlin.String?, `formattedCaption`: FormattedBody?, `progressWatcher`: ProgressWatcher?, `useSendQueue`: kotlin.Boolean): SendAttachmentJoinHandle
20098
20098
@@ -20611,12 +20611,12 @@ open class Timeline: Disposable, AutoCloseable, TimelineInterface {
20611
20611
}
20612
20612
20613
20613
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 {
20615
20615
return FfiConverterTypeSendAttachmentJoinHandle.lift(
20616
20616
callWithPointer {
20617
20617
uniffiRustCall() { _status ->
20618
20618
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)
20620
20620
}
20621
20621
}
20622
20622
)
0 commit comments