@@ -17825,6 +17825,8 @@ public enum EditedContent {
17825
17825
17826
17826
case roomMessage(content: RoomMessageEventContentWithoutRelation
17827
17827
)
17828
+ case mediaCaption(caption: String?, formattedCaption: FormattedBody?
17829
+ )
17828
17830
case pollStart(pollData: PollData
17829
17831
)
17830
17832
}
@@ -17840,7 +17842,10 @@ public struct FfiConverterTypeEditedContent: FfiConverterRustBuffer {
17840
17842
case 1: return .roomMessage(content: try FfiConverterTypeRoomMessageEventContentWithoutRelation.read(from: &buf)
17841
17843
)
17842
17844
17843
- case 2: return .pollStart(pollData: try FfiConverterTypePollData.read(from: &buf)
17845
+ case 2: return .mediaCaption(caption: try FfiConverterOptionString.read(from: &buf), formattedCaption: try FfiConverterOptionTypeFormattedBody.read(from: &buf)
17846
+ )
17847
+
17848
+ case 3: return .pollStart(pollData: try FfiConverterTypePollData.read(from: &buf)
17844
17849
)
17845
17850
17846
17851
default: throw UniffiInternalError.unexpectedEnumCase
@@ -17856,8 +17861,14 @@ public struct FfiConverterTypeEditedContent: FfiConverterRustBuffer {
17856
17861
FfiConverterTypeRoomMessageEventContentWithoutRelation.write(content, into: &buf)
17857
17862
17858
17863
17859
- case let .pollStart(pollData ):
17864
+ case let .mediaCaption(caption,formattedCaption ):
17860
17865
writeInt(&buf, Int32(2))
17866
+ FfiConverterOptionString.write(caption, into: &buf)
17867
+ FfiConverterOptionTypeFormattedBody.write(formattedCaption, into: &buf)
17868
+
17869
+
17870
+ case let .pollStart(pollData):
17871
+ writeInt(&buf, Int32(3))
17861
17872
FfiConverterTypePollData.write(pollData, into: &buf)
17862
17873
17863
17874
}
0 commit comments