mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2024-12-17 17:20:21 +01:00
ui: update business chat info type
This commit is contained in:
@@ -1962,8 +1962,9 @@ public struct GroupProfile: Codable, NamedChat, Hashable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public struct BusinessChatInfo: Decodable, Hashable {
|
public struct BusinessChatInfo: Decodable, Hashable {
|
||||||
public var memberId: String
|
|
||||||
public var chatType: BusinessChatType
|
public var chatType: BusinessChatType
|
||||||
|
public var businessId: String
|
||||||
|
public var customerId: String
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum BusinessChatType: String, Codable, Hashable {
|
public enum BusinessChatType: String, Codable, Hashable {
|
||||||
|
|||||||
+3
-2
@@ -1546,8 +1546,9 @@ data class GroupProfile (
|
|||||||
|
|
||||||
@Serializable
|
@Serializable
|
||||||
data class BusinessChatInfo (
|
data class BusinessChatInfo (
|
||||||
val memberId: String,
|
val chatType: BusinessChatType,
|
||||||
val chatType: BusinessChatType
|
val businessId: String,
|
||||||
|
val customerId: String,
|
||||||
)
|
)
|
||||||
|
|
||||||
@Serializable
|
@Serializable
|
||||||
|
|||||||
Reference in New Issue
Block a user