@@ -8231,7 +8231,7 @@ public protocol TimelineProtocol : AnyObject {
8231
8231
8232
8232
func createPoll(question: String, answers: [String], maxSelections: UInt8, pollKind: PollKind) async throws
8233
8233
8234
- func edit(newContent: RoomMessageEventContentWithoutRelation, editItem: EventTimelineItem ) async throws
8234
+ func edit(newContent: RoomMessageEventContentWithoutRelation, eventId: String ) async throws
8235
8235
8236
8236
func editPoll(question: String, answers: [String], maxSelections: UInt8, pollKind: PollKind, editItem: EventTimelineItem) async throws
8237
8237
@@ -8333,7 +8333,7 @@ public protocol TimelineProtocol : AnyObject {
8333
8333
8334
8334
func sendReadReceipt(receiptType: ReceiptType, eventId: String) async throws
8335
8335
8336
- func sendReply(msg: RoomMessageEventContentWithoutRelation, replyItem: EventTimelineItem ) async throws
8336
+ func sendReply(msg: RoomMessageEventContentWithoutRelation, eventId: String ) async throws
8337
8337
8338
8338
func sendVideo(url: String, thumbnailUrl: String?, videoInfo: VideoInfo, caption: String?, formattedCaption: FormattedBody?, progressWatcher: ProgressWatcher?) -> SendAttachmentJoinHandle
8339
8339
@@ -8421,13 +8421,13 @@ open func createPoll(question: String, answers: [String], maxSelections: UInt8,
8421
8421
)
8422
8422
}
8423
8423
8424
- open func edit(newContent: RoomMessageEventContentWithoutRelation, editItem: EventTimelineItem )async throws {
8424
+ open func edit(newContent: RoomMessageEventContentWithoutRelation, eventId: String )async throws {
8425
8425
return
8426
8426
try await uniffiRustCallAsync(
8427
8427
rustFutureFunc: {
8428
8428
uniffi_matrix_sdk_ffi_fn_method_timeline_edit(
8429
8429
self.uniffiClonePointer(),
8430
- FfiConverterTypeRoomMessageEventContentWithoutRelation.lower(newContent),FfiConverterTypeEventTimelineItem .lower(editItem )
8430
+ FfiConverterTypeRoomMessageEventContentWithoutRelation.lower(newContent),FfiConverterString .lower(eventId )
8431
8431
)
8432
8432
},
8433
8433
pollFunc: ffi_matrix_sdk_ffi_rust_future_poll_void,
@@ -8790,13 +8790,13 @@ open func sendReadReceipt(receiptType: ReceiptType, eventId: String)async throws
8790
8790
)
8791
8791
}
8792
8792
8793
- open func sendReply(msg: RoomMessageEventContentWithoutRelation, replyItem: EventTimelineItem )async throws {
8793
+ open func sendReply(msg: RoomMessageEventContentWithoutRelation, eventId: String )async throws {
8794
8794
return
8795
8795
try await uniffiRustCallAsync(
8796
8796
rustFutureFunc: {
8797
8797
uniffi_matrix_sdk_ffi_fn_method_timeline_send_reply(
8798
8798
self.uniffiClonePointer(),
8799
- FfiConverterTypeRoomMessageEventContentWithoutRelation.lower(msg),FfiConverterTypeEventTimelineItem .lower(replyItem )
8799
+ FfiConverterTypeRoomMessageEventContentWithoutRelation.lower(msg),FfiConverterString .lower(eventId )
8800
8800
)
8801
8801
},
8802
8802
pollFunc: ffi_matrix_sdk_ffi_rust_future_poll_void,
@@ -26108,7 +26108,7 @@ private var initializationResult: InitializationResult {
26108
26108
if (uniffi_matrix_sdk_ffi_checksum_method_timeline_create_poll() != 37925) {
26109
26109
return InitializationResult.apiChecksumMismatch
26110
26110
}
26111
- if (uniffi_matrix_sdk_ffi_checksum_method_timeline_edit() != 45021 ) {
26111
+ if (uniffi_matrix_sdk_ffi_checksum_method_timeline_edit() != 48577 ) {
26112
26112
return InitializationResult.apiChecksumMismatch
26113
26113
}
26114
26114
if (uniffi_matrix_sdk_ffi_checksum_method_timeline_edit_poll() != 40066) {
@@ -26168,7 +26168,7 @@ private var initializationResult: InitializationResult {
26168
26168
if (uniffi_matrix_sdk_ffi_checksum_method_timeline_send_read_receipt() != 37532) {
26169
26169
return InitializationResult.apiChecksumMismatch
26170
26170
}
26171
- if (uniffi_matrix_sdk_ffi_checksum_method_timeline_send_reply() != 356 ) {
26171
+ if (uniffi_matrix_sdk_ffi_checksum_method_timeline_send_reply() != 64747 ) {
26172
26172
return InitializationResult.apiChecksumMismatch
26173
26173
}
26174
26174
if (uniffi_matrix_sdk_ffi_checksum_method_timeline_send_video() != 34287) {
0 commit comments