From 000475e3cea28152cff81866fc542eaff5c6af93 Mon Sep 17 00:00:00 2001 From: Evgeny Poberezkin Date: Sun, 31 May 2026 19:38:49 +0100 Subject: [PATCH] add init --- apps/ios/SimpleXChat/ChatTypes.swift | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/apps/ios/SimpleXChat/ChatTypes.swift b/apps/ios/SimpleXChat/ChatTypes.swift index 739d270060..b1aff171e2 100644 --- a/apps/ios/SimpleXChat/ChatTypes.swift +++ b/apps/ios/SimpleXChat/ChatTypes.swift @@ -2534,6 +2534,13 @@ public enum GroupType: Codable, Hashable { } public struct PublicGroupAccess: Codable, Hashable { + public init(groupWebPage: String? = nil, groupDomain: String? = nil, domainWebPage: Bool = false, allowEmbedding: Bool = false) { + self.groupWebPage = groupWebPage + self.groupDomain = groupDomain + self.domainWebPage = domainWebPage + self.allowEmbedding = allowEmbedding + } + public var groupWebPage: String? public var groupDomain: String? public var domainWebPage: Bool = false