Swiftgram/Postbox/PeerChatInterfaceState.swift
2016-11-03 23:01:04 +03:00

13 lines
352 B
Swift

public protocol PeerChatListEmbeddedInterfaceState: Coding {
var timestamp: Int32 { get }
func isEqual(to: PeerChatListEmbeddedInterfaceState) -> Bool
}
public protocol PeerChatInterfaceState: Coding {
var chatListEmbeddedState: PeerChatListEmbeddedInterfaceState? { get }
func isEqual(to: PeerChatInterfaceState) -> Bool
}