@@ -11309,7 +11309,7 @@ public protocol TimelineProtocol : AnyObject {
11309
11309
11310
11310
func sendImage(params: UploadParameters, thumbnailPath: String?, imageInfo: ImageInfo, progressWatcher: ProgressWatcher?) throws -> SendAttachmentJoinHandle
11311
11311
11312
- func sendLocation(body: String, geoUri: String, description: String?, zoomLevel: UInt8?, assetType: AssetType?) async
11312
+ func sendLocation(body: String, geoUri: String, description: String?, zoomLevel: UInt8?, assetType: AssetType?, replyParams: ReplyParameters? ) async throws
11313
11313
11314
11314
func sendPollResponse(pollStartEventId: String, answers: [String]) async throws
11315
11315
@@ -11761,21 +11761,20 @@ open func sendImage(params: UploadParameters, thumbnailPath: String?, imageInfo:
11761
11761
})
11762
11762
}
11763
11763
11764
- open func sendLocation(body: String, geoUri: String, description: String?, zoomLevel: UInt8?, assetType: AssetType?)async {
11764
+ open func sendLocation(body: String, geoUri: String, description: String?, zoomLevel: UInt8?, assetType: AssetType?, replyParams: ReplyParameters? )async throws {
11765
11765
return
11766
- try! await uniffiRustCallAsync(
11766
+ try await uniffiRustCallAsync(
11767
11767
rustFutureFunc: {
11768
11768
uniffi_matrix_sdk_ffi_fn_method_timeline_send_location(
11769
11769
self.uniffiClonePointer(),
11770
- FfiConverterString.lower(body),FfiConverterString.lower(geoUri),FfiConverterOptionString.lower(description),FfiConverterOptionUInt8.lower(zoomLevel),FfiConverterOptionTypeAssetType.lower(assetType)
11770
+ FfiConverterString.lower(body),FfiConverterString.lower(geoUri),FfiConverterOptionString.lower(description),FfiConverterOptionUInt8.lower(zoomLevel),FfiConverterOptionTypeAssetType.lower(assetType),FfiConverterOptionTypeReplyParameters.lower(replyParams)
11771
11771
)
11772
11772
},
11773
11773
pollFunc: ffi_matrix_sdk_ffi_rust_future_poll_void,
11774
11774
completeFunc: ffi_matrix_sdk_ffi_rust_future_complete_void,
11775
11775
freeFunc: ffi_matrix_sdk_ffi_rust_future_free_void,
11776
11776
liftFunc: { $0 },
11777
- errorHandler: nil
11778
-
11777
+ errorHandler: FfiConverterTypeClientError.lift
11779
11778
)
11780
11779
}
11781
11780
@@ -38251,7 +38250,7 @@ private var initializationResult: InitializationResult = {
38251
38250
if (uniffi_matrix_sdk_ffi_checksum_method_timeline_send_image() != 25436) {
38252
38251
return InitializationResult.apiChecksumMismatch
38253
38252
}
38254
- if (uniffi_matrix_sdk_ffi_checksum_method_timeline_send_location() != 47400 ) {
38253
+ if (uniffi_matrix_sdk_ffi_checksum_method_timeline_send_location() != 57832 ) {
38255
38254
return InitializationResult.apiChecksumMismatch
38256
38255
}
38257
38256
if (uniffi_matrix_sdk_ffi_checksum_method_timeline_send_poll_response() != 7453) {
0 commit comments