mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-03-30 18:35:49 +00: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 var memberId: String
|
||||
public var chatType: BusinessChatType
|
||||
public var businessId: String
|
||||
public var customerId: String
|
||||
}
|
||||
|
||||
public enum BusinessChatType: String, Codable, Hashable {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user