@@ -19390,6 +19390,10 @@ public func FfiConverterTypeNoticeMessageContent_lower(_ value: NoticeMessageCon
1939019390
1939119391public struct NotificationItem {
1939219392 public var event: NotificationEvent
19393+ /**
19394+ * The raw JSON of the underlying event.
19395+ */
19396+ public var rawEvent: String
1939319397 public var senderInfo: NotificationSenderInfo
1939419398 public var roomInfo: NotificationRoomInfo
1939519399 /**
@@ -19407,7 +19411,10 @@ public struct NotificationItem {
1940719411
1940819412 // Default memberwise initializers are never public by default, so we
1940919413 // declare one manually.
19410- public init(event: NotificationEvent, senderInfo: NotificationSenderInfo, roomInfo: NotificationRoomInfo,
19414+ public init(event: NotificationEvent,
19415+ /**
19416+ * The raw JSON of the underlying event.
19417+ */rawEvent: String, senderInfo: NotificationSenderInfo, roomInfo: NotificationRoomInfo,
1941119418 /**
1941219419 * Is the notification supposed to be at the "noisy" level?
1941319420 * Can be `None` if we couldn't determine this, because we lacked
@@ -19417,6 +19424,7 @@ public struct NotificationItem {
1941719424 * The push actions for this notification (notify, sound, highlight, etc.).
1941819425 */actions: [Action]?) {
1941919426 self.event = event
19427+ self.rawEvent = rawEvent
1942019428 self.senderInfo = senderInfo
1942119429 self.roomInfo = roomInfo
1942219430 self.isNoisy = isNoisy
@@ -19442,6 +19450,7 @@ public struct FfiConverterTypeNotificationItem: FfiConverterRustBuffer {
1944219450 return
1944319451 try NotificationItem(
1944419452 event: FfiConverterTypeNotificationEvent.read(from: &buf),
19453+ rawEvent: FfiConverterString.read(from: &buf),
1944519454 senderInfo: FfiConverterTypeNotificationSenderInfo.read(from: &buf),
1944619455 roomInfo: FfiConverterTypeNotificationRoomInfo.read(from: &buf),
1944719456 isNoisy: FfiConverterOptionBool.read(from: &buf),
@@ -19453,6 +19462,7 @@ public struct FfiConverterTypeNotificationItem: FfiConverterRustBuffer {
1945319462
1945419463 public static func write(_ value: NotificationItem, into buf: inout [UInt8]) {
1945519464 FfiConverterTypeNotificationEvent.write(value.event, into: &buf)
19465+ FfiConverterString.write(value.rawEvent, into: &buf)
1945619466 FfiConverterTypeNotificationSenderInfo.write(value.senderInfo, into: &buf)
1945719467 FfiConverterTypeNotificationRoomInfo.write(value.roomInfo, into: &buf)
1945819468 FfiConverterOptionBool.write(value.isNoisy, into: &buf)
@@ -37483,8 +37493,7 @@ public enum TimelineFocus: Equatable, Hashable {
3748337493 * The thread root event ID to focus on.
3748437494 */rootEventId: String
3748537495 )
37486- case pinnedEvents(maxEventsToLoad: UInt16, maxConcurrentRequests: UInt16
37487- )
37496+ case pinnedEvents
3748837497
3748937498
3749037499
@@ -37515,8 +37524,7 @@ public struct FfiConverterTypeTimelineFocus: FfiConverterRustBuffer {
3751537524 case 3: return .thread(rootEventId: try FfiConverterString.read(from: &buf)
3751637525 )
3751737526
37518- case 4: return .pinnedEvents(maxEventsToLoad: try FfiConverterUInt16.read(from: &buf), maxConcurrentRequests: try FfiConverterUInt16.read(from: &buf)
37519- )
37527+ case 4: return .pinnedEvents
3752037528
3752137529 default: throw UniffiInternalError.unexpectedEnumCase
3752237530 }
@@ -37543,11 +37551,9 @@ public struct FfiConverterTypeTimelineFocus: FfiConverterRustBuffer {
3754337551 FfiConverterString.write(rootEventId, into: &buf)
3754437552
3754537553
37546- case let .pinnedEvents(maxEventsToLoad,maxConcurrentRequests) :
37554+ case .pinnedEvents:
3754737555 writeInt(&buf, Int32(4))
37548- FfiConverterUInt16.write(maxEventsToLoad, into: &buf)
37549- FfiConverterUInt16.write(maxConcurrentRequests, into: &buf)
37550-
37556+
3755137557 }
3755237558 }
3755337559}
0 commit comments