Swiftgram/Postbox/PeerChatInterfaceState.swift
2017-08-29 17:20:16 +03:00

13 lines
366 B
Swift

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