ui: update business chat info type

This commit is contained in:
Evgeny Poberezkin
2024-12-05 23:01:37 +00:00
parent bd2ca74987
commit 886dc56de8
2 changed files with 5 additions and 3 deletions

View File

@@ -1962,8 +1962,9 @@ public struct GroupProfile: Codable, NamedChat, Hashable {
}
public struct BusinessChatInfo: Decodable, Hashable {
public var memberId: String
public var chatType: BusinessChatType
public var businessId: String
public var customerId: String
}
public enum BusinessChatType: String, Codable, Hashable {

View File

@@ -1546,8 +1546,9 @@ data class GroupProfile (
@Serializable
data class BusinessChatInfo (
val memberId: String,
val chatType: BusinessChatType
val chatType: BusinessChatType,
val businessId: String,
val customerId: String,
)
@Serializable